![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Modularizando o src
Dependencies: EALib EthernetInterface_vz mbed-rtos mbed
Fork of header_main_colinas_V0-20-09-14 by
Diff: main.cpp
- Revision:
- 58:af7e8788f106
- Parent:
- 57:78f7191a8b69
- Child:
- 62:07e5bdc9f8f7
diff -r 78f7191a8b69 -r af7e8788f106 main.cpp --- a/main.cpp Thu Oct 23 17:18:58 2014 +0000 +++ b/main.cpp Thu Oct 23 19:58:09 2014 +0000 @@ -175,11 +175,6 @@ }else type = __DO_NOTHING__; } //---------------------- - /* - if( (int)t.read() % 2 ){ - led3 = !led3; - } - */ uint8_t now = t.read(); if( before != now ){ led3 = !led3; @@ -231,14 +226,6 @@ //} if( main_test ){ - send_msg( "Validando telemetria" ); - for( register uint16_t i = 0; i < __CB_BUFFER_SIZE__; i++ ) buffer[ i ] = 0x42; - buffer[ 119 ] = 0; - data = buffer; - ext = test_ext; - port = test_port; - type = __TELEMETRY__; - main_test = false; } /*