Modularizando o src
Dependencies: EALib EthernetInterface_vz mbed-rtos mbed
Fork of header_main_colinas_V0-20-09-14 by
Diff: prompt.cpp
- Revision:
- 120:770f00554b1e
- Parent:
- 119:ee6a53069455
- Child:
- 121:ee02790d00b7
diff -r ee6a53069455 -r 770f00554b1e prompt.cpp --- a/prompt.cpp Thu Apr 30 15:42:41 2015 +0000 +++ b/prompt.cpp Mon May 04 17:25:29 2015 +0000 @@ -663,46 +663,11 @@ 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; - } - - else if( xstrmatch( (uint8_t*)debug_buf, (uint8_t*) "canada" ) ){ - miss_match = false; - canada = !canada; - } - - else if( xstrmatch( (uint8_t*)debug_buf, (uint8_t*) "america" ) ){ - miss_match = false; - america = !america; - } - - else if( xstrmatch( (uint8_t*)debug_buf, (uint8_t*) "york" ) ){ - miss_match = false; - york = !york; - } - - else if( xstrmatch( (uint8_t*)debug_buf, (uint8_t*) "chicago" ) ){ - miss_match = false; - chicago = !chicago; - } - else if( xstrmatch( (uint8_t*)debug_buf, (uint8_t*) "show_sip" ) ){ miss_match = false; show_sip = true; @@ -713,11 +678,6 @@ reset_cks = true; } - else if( xstrmatch( (uint8_t*)debug_buf, (uint8_t*) "malasia" ) ){ - miss_match = false; - malasia = !malasia; - } - //replaced by ls else if( xstrmatch( (uint8_t*)debug_buf, (uint8_t*) "status" ) ){ miss_match = false;