Modularizando o src

Dependencies:   EALib EthernetInterface_vz mbed-rtos mbed

Fork of header_main_colinas_V0-20-09-14 by VZTECH

Revision:
23:4a6d631a6298
Parent:
22:d2a4b5939115
Child:
24:270b436a1bb0
diff -r d2a4b5939115 -r 4a6d631a6298 main.cpp
--- a/main.cpp	Sat Sep 20 20:43:33 2014 +0000
+++ b/main.cpp	Sat Sep 20 20:56:13 2014 +0000
@@ -124,7 +124,7 @@
             data = __parse_cb_buffer__( &ext, &port, &type, buffer );
             
             if( data != NULL ){                
-                debug_msg("Procurando pelo CBx :: %d -- Type :: %d", ext, type );
+                if (debug_alive == 1) debug_msg("Procurando pelo CBx :: %d -- Type :: %d", ext, type );
                 if( type != __AUDIO__ ){
                     Call_Box * cb = __find_CB__( v_cb, ext );
                     if( cb != NULL ){
@@ -155,7 +155,7 @@
                 }
                 
                 if (debug_alive == 1){
-                debug_msg("");
+                debug_msg("Status - alive ");
                 //uint32_t errper = 100*(pkg_ckserr/(pkg_ckserr + pkg_cksok));
                 //pc.printf("\n\r Error = %d", errper);
                 }