Modularizando o src
Dependencies: EALib EthernetInterface_vz mbed-rtos mbed
Fork of header_main_colinas_V0-20-09-14 by
Diff: vz_protocol.cpp
- Revision:
- 85:b6f2dc1d0f4f
- Parent:
- 81:3656f00ab3db
- Child:
- 86:bf7b0d4c3232
diff -r b64f0e3b283e -r b6f2dc1d0f4f vz_protocol.cpp --- a/vz_protocol.cpp Fri Jan 02 19:17:19 2015 +0000 +++ b/vz_protocol.cpp Sun Jan 04 13:56:08 2015 +0000 @@ -47,6 +47,8 @@ if( ( ext && port && type && cb_buffer ) == NULL ) return( NULL ); if( cb_buffer[ 6 ] == __FLOOD__ ){ + debug_msg( "::Received flood from %d::", ( cb_buffer[ 0 ] << 8 | cb_buffer[ 1 ] ) ); + flood_counter++; static uint8_t flood_cnt = 0; static uint8_t first_run_flag = 0;