Distinguish half-duplex mode from (not yet written) full duplex.
authorbruceperens <bruceperens@01035d8c-6547-0410-b346-abe4f91aad63>
Tue, 22 Apr 2014 01:06:56 +0000 (01:06 +0000)
committerbruceperens <bruceperens@01035d8c-6547-0410-b346-abe4f91aad63>
Tue, 22 Apr 2014 01:06:56 +0000 (01:06 +0000)
git-svn-id: https://svn.code.sf.net/p/freetel/code@1539 01035d8c-6547-0410-b346-abe4f91aad63

freedv-server/source/run.cpp

index 9c9b387e9aae135bfb3b4f0b7ac6d779d8edd802..c5111613e54fe86bf7e7d76271e7fc5582d5ca4a 100644 (file)
@@ -63,9 +63,9 @@ namespace FreeDV {
                        Run(Interfaces * interfaces);
                        ~Run();
 
-    /// Run the main loop of FreeDV.
+    /// Run the main loop of FreeDV in half-duplex mode.
     ///
-    void               run();
+    void               half_duplex();
   };
   
   Run::Run(Interfaces * interfaces)
@@ -268,7 +268,7 @@ namespace FreeDV {
   // three T/R devices for each of Digital and SSB. This accounts for the
   // GUI, a pedal, and a hand switch.
   void
-  Run::run()
+  Run::half_duplex()
   {
     enum TRState {
       DrainDigital,
@@ -448,7 +448,7 @@ namespace FreeDV {
   run(Interfaces * i)
   {
     Run * r = new Run(i);
-    r->run();
+    r->half_duplex();
     return 0;
   }
 }