![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Modularizando o src
Dependencies: EALib EthernetInterface_vz mbed-rtos mbed
Fork of header_main_colinas_V0-20-09-14 by
Diff: call_box.cpp
- Revision:
- 122:480c44b0e205
- Parent:
- 121:ee02790d00b7
- Child:
- 123:1d395b5a4cad
--- a/call_box.cpp Fri May 08 04:15:23 2015 +0000 +++ b/call_box.cpp Mon May 11 15:16:36 2015 +0000 @@ -241,8 +241,8 @@ { int now = t.read (); - //if ( now >= 1500 || now <= 0 ) - if ( now >= 60 || now <= 0 ) + //if ( now >= 30 || now < 0 ) + if ( now >= 1500 || now < 0 ) { t.reset (); overflow = true; @@ -465,4 +465,4 @@ Sip * Call_Box::get_sip ( void ) { return this -> sip ; } -bool Call_Box::get_overflow_flag ( void ) { return ( this->overflow ); } \ No newline at end of file +bool Call_Box::get_overflow_flag ( void ) { get_timer () ; return ( this -> overflow ); } \ No newline at end of file