![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
debugs removidos - ligacao em pares ok
Dependencies: EthernetInterface NTPClient mbed-rtos mbed
Fork of header_main by
Diff: debug.h
- Revision:
- 2:93bec7313ccc
- Parent:
- 0:4d17cd9c8f9d
- Child:
- 4:de46f0d9b14d
diff -r a1758104fa1d -r 93bec7313ccc debug.h --- a/debug.h Wed Sep 10 12:50:57 2014 +0000 +++ b/debug.h Wed Sep 10 14:32:19 2014 +0000 @@ -8,8 +8,8 @@ #include "configs.h" -extern UDPSocket debug; -extern Endpoint debug_server; +//extern UDPSocket debug; +//extern Endpoint debug_server; extern char debug_msg1[ 1024+64 ]; extern char debug_msg2[ 1024 ]; @@ -20,10 +20,11 @@ sprintf(debug_msg1, "%s:%d ", __FILE__, __LINE__); \ sprintf(debug_msg2, __VA_ARGS__); \ strcat(debug_msg1, debug_msg2); \ - debug.sendTo( debug_server, debug_msg1, strlen( debug_msg1 ) ); \ + pc.printf( "%s\n\r", debug_msg1 ); \ } #endif //debug.sendTo( debug_server, debug_msg1, strlen( debug_msg1 ) ); \ -//pc.printf( "%s\n\r", debug_msg1 ); \ \ No newline at end of file +//pc.printf( "%s\n\r", debug_msg1 ); \ +debug.sendTo( debug_server, debug_msg1, strlen( debug_msg1 ) ); \ \ No newline at end of file