]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lib.git/blobdiff - rpp/src/rpp/sdr.c
Fixed the very same race condition on all files. Just two are pending: SDR from the...
[pes-rpp/rpp-lib.git] / rpp / src / rpp / sdr.c
index 76372c18495149361efc77d75140bc9193958681..2baf890cb1a0bd22cf0494978c5ce32be49f9933 100644 (file)
@@ -143,12 +143,12 @@ static char in_buffer[BUF_SIZE];
 // SCI log command processor task
 void rpp_sdr_cmdproc(void *p)
 {
-    rpp_sci_printf(
-            (const char*)"Log control: %dkB available.\r\n",
+    rpp_sci_printf((const char*)
+            "Log control: %dkB available.\r\n",
             (rpp_sdr_available() / 1024)
         );
-    rpp_sci_printf(
-            (const char*)"========================================\r\n"
+    rpp_sci_printf((const char*)
+            "========================================\r\n"
         );
     rpp_sci_printf((const char*)"%s", prompt);
 
@@ -214,10 +214,10 @@ void rpp_sdr_cmdproc(void *p)
             } else if(strncmp(in_buffer, "help", BUF_SIZE) == 0) {
                 rpp_sci_printf((const char*)
                         "Available commands: \r\n"
-                                      "    log\r\n"
-                                      "    clear\r\n"
-                                      "    available\r\n"
-                                      "    exit\r\n"
+                            "\tlog\r\n"
+                            "\tclear\r\n"
+                            "\tavailable\r\n"
+                            "\texit\r\n"
                     );
 
                 rpp_sci_printf((const char*)"%s", newline);