Modularizando o src

Dependencies:   EALib EthernetInterface_vz mbed-rtos mbed

Fork of header_main_colinas_V0-20-09-14 by VZTECH

Revision:
89:0fe315117b00
Parent:
87:679ee0d594a9
Child:
91:c2a86b1f8aaa
--- a/call.cpp	Tue Jan 06 16:39:09 2015 +0000
+++ b/call.cpp	Wed Jan 07 21:48:53 2015 +0000
@@ -7,12 +7,17 @@
     this->rtp_server_ext = rtp_server_ext;
     this->rtp_server_port = rtp_server_port;
     this->rtp_server.set_address( __RTP_SEVER_IP__, rtp_server_port );
-    rtp_sock.set_blocking( false, 3 );
+    //rtp_sock.set_blocking( false, 3 );
+    rtp_sock.set_blocking( false, 0 );
     this->rtp_sock.bind( cb_port ); // rtp port
     this->rtp_sock.init();
     this->rtp = new RTP( this->cb_ext );
     
-    if( rtp == NULL ) memory_is_over = true;
+    if( rtp == NULL )
+    { 
+        memory_is_over = true;
+        if( debug_memory ) debug_msg("Call_Box cb allocation fail");
+    }
     
     t.start();
     finish.start();