Modularizando o src

Dependencies:   EALib EthernetInterface_vz mbed-rtos mbed

Fork of header_main_colinas_V0-20-09-14 by VZTECH

Revision:
121:ee02790d00b7
Parent:
120:770f00554b1e
Child:
122:480c44b0e205
--- a/debug.h	Mon May 04 17:25:29 2015 +0000
+++ b/debug.h	Fri May 08 04:15:23 2015 +0000
@@ -8,32 +8,42 @@
 #ifndef __DEBUG_H__
 #define __DEBUG_H__
 
-#include <stdint.h>
-#include <stdio.h>
-#include "mbed.h"
-#include "EthernetInterface.h"
-#include "string.h"
 #include "shared_variables.h"
 
+extern UDPSocket udp_client;
+extern bool udp_query;
+extern bool tcp_session;
+extern bool from_eth;
+extern uint16_t string_msg_overflow;
+extern Endpoint udp_server;
+extern uint16_t miss_prompt_udp_send_pkg;
+
 extern UDPSocket eth_fw_debug;
+
 extern Endpoint eth_fw_debug_server;
 
 const uint16_t DEBUG_MSG_SIZE = 1024;
+
 const uint8_t DEBUG_AUX_MSG_SIZE = 64;
 
 extern char debug_msg1[ DEBUG_MSG_SIZE + DEBUG_AUX_MSG_SIZE ];
 ///< Buffer usado na composisão da mensagem enviada pela macro debug_msg
+
 extern char debug_msg2[ DEBUG_MSG_SIZE ];
 ///< Buffer usado na composisão da mensagem enviada pela macro debug_msg
+
 extern char msg_[ DEBUG_MSG_SIZE ];
 ///< Buffer utilizado pela macro send_msg
 
 extern bool cb_session;
 ///< Não utilizada atualmente.
+
 extern bool cb_status;
 ///< Não utilizada atualmente.
+
 extern bool debug_telemetry;
 ///< Variável de controle que aciona o debug de telemetria.
+
 extern bool main_test;
 ///< Variável de controle para acionamento de algum comando de interesse.