Andriy Makukha / Mbed 2 deprecated football_project_wo_output

Dependencies:   mbed

Fork of football_project by MZJ

Revision:
31:a6110950f385
Parent:
30:c60b0d52b067
Child:
32:64e5d7340d82
--- a/Radio.cpp	Mon Jan 04 16:33:39 2016 +0000
+++ b/Radio.cpp	Tue Jan 05 13:05:48 2016 +0000
@@ -47,7 +47,7 @@
         return;    
     }
     
-///    writeToPhone("Sending message: %c to: %d from: %d\r\n", m->command, m->cone, NODE_ID);
+    writeToPhone("Sending message: %c to: %d from: %d\r\n", m->command, m->cone, NODE_ID);  /// DEBUG-only message
     
     payload[0] = (byte)m->command;
     payload[4] = (byte)m->value & 255;
@@ -73,13 +73,13 @@
     
     if (radio.receiveDone())
     {
-///        writeToPhone("Received: %d bytes", radio.DATALEN);
+        writeToPhone("Received: %d bytes", radio.DATALEN);  /// DEBUG-only message
         if (radio.DATALEN < 6)
         {
             return false;    
         }
         
-///        writeToPhone("Got message from: %d\r\n", radio.SENDERID);
+        writeToPhone("Got message from: %d\r\n", radio.SENDERID);  /// DEBUG-only message
         
         m->cone    = radio.SENDERID;
         m->command = radio.DATA[0];