Modularizando o src

Dependencies:   EALib EthernetInterface_vz mbed-rtos mbed

Fork of header_main_colinas_V0-20-09-14 by VZTECH

Revision:
24:270b436a1bb0
Parent:
23:4a6d631a6298
Child:
25:2cf5e8dd4035
--- a/main.cpp	Sat Sep 20 20:56:13 2014 +0000
+++ b/main.cpp	Sat Sep 20 21:20:01 2014 +0000
@@ -109,9 +109,17 @@
         prompt_process();
         
         if (pcks_s == 1){
-        pc.printf("\n\r PKG_CSK OK: %d", pkg_cksok);
-        pc.printf("\n\r PKG_CSK ERR: %d\n\r", pkg_ckserr); 
-        pcks_s =0;
+            pc.printf("\n\r PKG_CSK OK: %d", pkg_cksok);
+            pc.printf("\n\r PKG_CSK ERR: %d\n\r", pkg_ckserr); 
+            pcks_s =0;
+        }
+        
+        if (pshowcb == 1){
+            for( register uint8_t i = 0; i < v_cb->size(); i++ ){
+                    Call_Box * cb = ( Call_Box * )v_cb->get_element( i );
+                    debug_msg(" Type ::  %d -- Ext :: %d -- TimeSlice :: %d -- remain_timeslices :: %d :: v_call->size() :: %d :: Status :: %d :: SIP Status %d", type , cb->get_ext(), cb->get_timeslice(), ts->remain_timeslices(), v_call->size(), cb->status, cb->sip->status );
+            pshowcb = 0;
+            }
         }
         
         if (pflood == 1) flood();