Modularizando o src
Dependencies: EALib EthernetInterface_vz mbed-rtos mbed
Fork of header_main_colinas_V0-20-09-14 by
Diff: prompt.cpp
- Revision:
- 112:6ae726539ab9
- Parent:
- 109:a5b8264ffbbc
- Child:
- 113:db67ae00550e
diff -r c0833f2455ed -r 6ae726539ab9 prompt.cpp --- a/prompt.cpp Tue Apr 07 18:26:21 2015 +0000 +++ b/prompt.cpp Mon Apr 13 12:16:21 2015 +0000 @@ -972,11 +972,11 @@ drop_entendi_pkg = !drop_entendi_pkg; if ( drop_entendi_pkg ) { - debug_msg ("Ok pkgs will be droped"); + debug_msg ("Entendi pkgs will be droped"); } else { - debug_msg ("Ok pkgs don't will be droped"); + debug_msg ("Entendi pkgs don't will be droped"); } } @@ -1140,6 +1140,22 @@ main_test = !main_test; } + + else if( xstrmatch( (uint8_t*)debug_buf, (uint8_t*) "cogumelo" ) ){ + miss_match = false; + cogumelo = true; + } + + else if( xstrmatch( (uint8_t*)debug_buf, (uint8_t*) "registra" ) ){ + miss_match = false; + registra = true; + } + + else if( xstrmatch( (uint8_t*)debug_buf, (uint8_t*) "gnomo" ) ){ + miss_match = false; + gnomo = true; + } + else if( xstrmatch( (uint8_t*)debug_buf, (uint8_t*) "tango" ) ){ miss_match = false; tango = !tango;