![](/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:
- 45:c80574f24dc3
- Parent:
- 44:cc4996469404
- Child:
- 46:a670f187a704
--- a/main.cpp Mon Oct 06 19:26:36 2014 +0000 +++ b/main.cpp Tue Oct 07 12:10:36 2014 +0000 @@ -32,7 +32,6 @@ Timer t; t.start(); Timer udp_timer; - static bool listen_udp = false; /* representa ramal do call box */ int ext = 0; @@ -174,6 +173,7 @@ } } } + /* if( count == 5 ){ //debug_msg("Colocar simulacoes de cbx aqui"); data = buffer; @@ -181,7 +181,7 @@ port = 5001; type = __REGISTRY__; debug_msg("registro enviado"); - } + }*/ } //---------------------- switch( type ){ @@ -417,6 +417,7 @@ if (flag == 1) { flag = 0; } } + /* int length; if( udp_timer.read() > 1 && !listen_udp ){ data = (uint8_t *)listen_eth_udp( (char *)buffer, &length ); @@ -432,6 +433,7 @@ udp_timer.reset(); } } + */ type = __DO_NOTHING__; } } \ No newline at end of file