Modularizando o src
Dependencies: EALib EthernetInterface_vz mbed-rtos mbed
Fork of header_main_colinas_V0-20-09-14 by
Diff: call.h
- Revision:
- 115:a1e1e2e60a2c
- Parent:
- 114:472502b31a12
- Child:
- 116:39a41ebb675c
--- a/call.h Mon Apr 20 14:40:09 2015 +0000 +++ b/call.h Thu Apr 23 13:57:54 2015 +0000 @@ -20,13 +20,13 @@ #include "debug.h" #include "shared_variables.h" -#define __CALL_MAX_IDLE_TIME__ 5 +const uint8_t __CALL_MAX_IDLE_TIME__ = 5; ///< Define o tempo máximo sem receber dados em alguma chamada. -#define __MAX_CALL_TIME__ 180 +const uint8_t __MAX_CALL_TIME__ = 180; ///< Define o tempo máximo ( em segundos ) de uma ligação. -#define CBX_PKG_IDLE_MAX_TIME 10 +const uint8_t CBX_PKG_IDLE_MAX_TIME = 10; class VZ_call : public Object{ private : @@ -274,7 +274,7 @@ void cbx_pkg_idle_timer_reset( void ); bool cbx_pkg_is_idle( void ); void init_cbx_pkg_idle_timer( void ); - int get_elapsed_time( void ); + uint16_t get_elapsed_time( void ); int print_yourself ( void ); void * check_rtp ( void ); int rtp_print_yourself ( void );