]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
Include iambic.h only if compiled with LOCALCW
authorc vw <dl1ycf@darc.de>
Wed, 24 Feb 2021 14:26:13 +0000 (15:26 +0100)
committerc vw <dl1ycf@darc.de>
Wed, 24 Feb 2021 14:26:13 +0000 (15:26 +0100)
new_protocol.c
old_protocol.c

index 55695e8c15443dbfb62a85b64c63abb3ebf6b0b1..2066e8f825e0f210e520c284a6f43ef577369df2 100644 (file)
@@ -59,7 +59,9 @@
 #include "toolbar.h"
 #include "vox.h"
 #include "ext.h"
+#ifdef LOCALCW
 #include "iambic.h"
+#endif
 
 #define min(x,y) (x<y?x:y)
 
index e2a8a468ad0edeae2fd1e0cdf0e83c8318638ca0..5852b92e8f734675fc2d5658d8f3c71ea8d4d311 100644 (file)
@@ -50,7 +50,9 @@
 #include "toolbar.h"
 #include "vfo.h"
 #include "ext.h"
+#ifdef LOCALCW
 #include "iambic.h"
+#endif
 #include "error_handler.h"
 
 #define min(x,y) (x<y?x:y)
@@ -1974,7 +1976,8 @@ void ozy_send_buffer() {
         output_buffer[C4]=40;   // 30 msec TX latency,    only bits 6:0
         //
         // This was the last command we use out of the extended HL2 command set,
-        // so roll back to the first one.
+        // so roll back to the first one. It is obvious how to extend this
+        // to cover more of the HL2 extended command set.
         //
         command=1;
         break;