Modularizando o src
Dependencies: EALib EthernetInterface_vz mbed-rtos mbed
Fork of header_main_colinas_V0-20-09-14 by
Diff: utils.h
- Revision:
- 31:bb5fb28a77df
- Parent:
- 18:01a93677e40c
- Child:
- 48:195c97f12e8e
diff -r 8dfb6d8de53d -r bb5fb28a77df utils.h --- a/utils.h Thu Sep 25 14:37:02 2014 +0000 +++ b/utils.h Thu Sep 25 19:34:46 2014 +0000 @@ -15,6 +15,7 @@ #include "NTPClient.h" #include "parallelcpld.h" #include "test.h" +#include "prompt.h" using namespace std; @@ -24,9 +25,9 @@ extern DigitalOut led4; #define set_status(a,b) _set_status(a,b) #define _set_status(a,b){ \ - if( a != b ) debug_msg("Anterior %d -- Atual %d", a, b ); \ + if( a != b ) if( debug_sip )debug_msg("Anterior %d -- Atual %d", a, b ); \ if( a != NULL || b != NULL ) a = b; \ - else debug_msg("Paramento sip null"); \ + else if( debug_sip ) debug_msg("Paramento sip null"); \ } void reverse( char str[], int length );