firm newest

Dependencies:   MTS-Serial libmDot-dev-mbed5-deprecated

Revision:
1:c1c6549b9333
Parent:
0:3c869a8cb8f8
--- a/CommandTerminal/CmdErrorCorrection.cpp	Thu Oct 18 04:18:48 2018 +0000
+++ b/CommandTerminal/CmdErrorCorrection.cpp	Mon Oct 22 01:56:09 2018 +0000
@@ -10,18 +10,18 @@
 {
     if (args.size() == 1)
     {
-        CommandTerminal::Serial()->writef("%u\r\n", CommandTerminal::Dot()->getFec());
+        ;//CommandTerminal::Serial()->writef("%u\r\n", CommandTerminal::Dot()->getFec());
     }
     else if (args.size() == 2)
     {
         uint32_t bytes;
         sscanf(args[1].c_str(), "%lu", &bytes);
-
-        if (CommandTerminal::Dot()->setFec(bytes) != mDot::MDOT_OK)
-        {
-            CommandTerminal::setErrorMessage(CommandTerminal::Dot()->getLastError());;
-            return 1;
-        }
+//
+//        if (CommandTerminal::Dot()->setFec(bytes) != mDot::MDOT_OK)
+//        {
+//            CommandTerminal::setErrorMessage(CommandTerminal::Dot()->getLastError());;
+//            return 1;
+//        }
     }
 
     return 0;