![](/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:
- 130:850163037da5
- Parent:
- 129:d73538fbc017
- Child:
- 132:05cd37f7e007
--- a/main.cpp Thu Jul 02 17:43:37 2015 +0000 +++ b/main.cpp Mon Jul 20 19:15:00 2015 +0000 @@ -471,7 +471,12 @@ if ( cb != NULL ) registry_ret = cb -> registry (); - if ( ( registry_ret > 0 ) and eth_status ) try_reconnect_with_eth (); + if ( ( registry_ret > 0 ) and eth_status ) try_reconnect_with_eth (); + + /* Resetando o timer usado no wdt somente no recebimento de + pacotes validos do tipo REGISTRY. + */ + pkg_wdt = RX_CB_IDLE; } break;