Modularizando o src

Dependencies:   EALib EthernetInterface_vz mbed-rtos mbed

Fork of header_main_colinas_V0-20-09-14 by VZTECH

Revision:
63:0d95da692bb4
Parent:
62:07e5bdc9f8f7
Child:
68:b54993674190
--- a/utils.cpp	Tue Oct 28 11:32:06 2014 +0000
+++ b/utils.cpp	Tue Oct 28 12:44:45 2014 +0000
@@ -2,6 +2,7 @@
 #include "prompt.h"
 
 EthernetInterface eth;
+uint8_t cb_tx_buffer[ __CB_BUFFER_SIZE__ ];
 
 void reverse( char str[], int length ){
     int start = 0;
@@ -270,6 +271,7 @@
 
 void __send_to_cb__( uint8_t * buffer ){
     xmemcpy( TXBuffer, buffer, DATA_SIZE );
+    xmemcpy( cb_tx_buffer, buffer, __CB_BUFFER_SIZE__ );
     send2callboxes();
 }