simple serial protocol

Dependents:   AwsomeStation LoRaBaseStation LoRaTerminal

Revision:
4:4a92da3f19c0
Parent:
3:22bb958f0eb0
Child:
5:d39ee3fc4f4a
--- a/SerialInterfaceProtocol.cpp	Sun Jul 17 04:59:20 2016 +0000
+++ b/SerialInterfaceProtocol.cpp	Sun Jul 17 08:35:56 2016 +0000
@@ -246,6 +246,10 @@
                     {
                         PacketBuffer.errno = CommandPacket::INVALID_EXEC_ERROR;
                     }
+                    else
+                    {
+                        PacketBuffer.errno = CommandPacket::NO_ERROR;
+                    }
                     
                     assemble(response, response_length);
                 }