![](/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
shared_variables.cpp
- Committer:
- klauss
- Date:
- 2015-01-04
- Revision:
- 85:b6f2dc1d0f4f
- Parent:
- 81:3656f00ab3db
- Child:
- 86:bf7b0d4c3232
File content as of revision 85:b6f2dc1d0f4f:
#include "shared_variables.h" bool from_eth = false; bool tcp_session = false; bool reset_cks = false; TCPSocketServer tcp_server; TCPSocketConnection tcp_client; Timer udp_timer; bool debug_alive = false; UDPSocket udp_server; Endpoint udp_client; bool pcks_s = false; bool list = false; bool r_stats; bool rx = false; bool tx = false; bool stats = false; uint16_t boot_counter = 0; uint16_t registry_counter = 0; uint16_t invite_counter = 0; uint16_t audio_counter = 0; uint16_t telemetry_counter = 0; uint16_t cb_bye_counter = 0; uint16_t prompt_counter = 0; uint16_t flood_counter = 0; uint16_t out_of_range = 0; uint16_t bootloader_cbx_counter = 0; int max_ext = 0; int min_ext = 0; bool pshowcb = false; uint16_t external_wdt = EXTERN_WDT_IDLE; volatile uint8_t status = __WAITING__; Serial pc (USBTX,USBRX); DigitalOut led1(LED1); DigitalOut led2(LED2); DigitalOut led3(LED3); DigitalOut led4(LED4); DigitalOut CAB_LED(p24); uint32_t missed_pkg = 0; uint8_t cb_new_counter = 0; uint8_t cb_delete_counter = 0; uint8_t sip_new_counter = 0; uint8_t sip_delete_counter = 0; uint8_t rtp_new_counter = 0; uint8_t rtp_delete_counter = 0; uint16_t eth_pkg_received = 0;