Modularizando o src

Dependencies:   EALib EthernetInterface_vz mbed-rtos mbed

Fork of header_main_colinas_V0-20-09-14 by VZTECH

Revision:
46:a670f187a704
Parent:
45:c80574f24dc3
Child:
48:195c97f12e8e
--- a/main.cpp	Tue Oct 07 12:10:36 2014 +0000
+++ b/main.cpp	Tue Oct 07 18:38:30 2014 +0000
@@ -78,7 +78,6 @@
         led1 = 1;
         while( v_call == NULL ){
             Vector * v_call = new Vector();
-            led1 = led1;
             if( t.read() > 5 ){
                 debug_msg("Erro ao alocar o vetor de Calls");
                 t.reset();
@@ -88,7 +87,6 @@
     reset_leds();
     wdt.Configure( 40.0 ); 
     udp_timer.start();
-    led1 = 0; led4 = 1;
     debug_msg("Ready");
     while( true ){
         prompt_process( NULL );
@@ -181,6 +179,15 @@
                     port = 5001;
                     type = __REGISTRY__;
                     debug_msg("registro enviado");
+                }
+                
+                if( count == 5 * 2 ){
+                    //debug_msg("Colocar simulacoes de cbx aqui");
+                    data = buffer;
+                    ext = 891;
+                    port = 5001;
+                    type = __INVITE__;
+                    debug_msg("registro enviado");
                 }*/
             }
 //----------------------