Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MbedJSONValue mbed
Diff: main.cpp
- Revision:
- 3:9c3169e549f0
- Parent:
- 2:5c531dfe890b
- Child:
- 4:7c08791dcac1
--- a/main.cpp Sun Feb 04 15:24:26 2018 +0000
+++ b/main.cpp Sun Feb 04 16:14:03 2018 +0000
@@ -96,7 +96,6 @@
//#define DEBUG_MOD1 // json packet recognise
//#define DEBUG_MOD2 // json parse
//#define DEBUG_MOD3 // switch handler
-
#define DEBUG_MOD10 // responsivity msges to gui
#define MSG_BUFFER_SIZE 512
@@ -399,7 +398,7 @@
for (int ii=0 ; ii < 5 ; ii++) {
spkChannle[ii] = guiCmd["spk"][ii].get<bool>();
}
-#ifndef DEBUG_MOD10
+#ifdef DEBUG_MOD10
// send parsed values
pc.printf("mic: %d , spk: [%d,%d,%d,%d,%d]\r\n", micChannle,spkChannle[0],spkChannle[1],spkChannle[2],spkChannle[3],spkChannle[4]);
#endif