Modularizando o src
Dependencies: EALib EthernetInterface_vz mbed-rtos mbed
Fork of header_main_colinas_V0-20-09-14 by
Diff: clock.h
- Revision:
- 122:480c44b0e205
- Parent:
- 121:ee02790d00b7
- Child:
- 132:05cd37f7e007
diff -r ee02790d00b7 -r 480c44b0e205 clock.h --- a/clock.h Fri May 08 04:15:23 2015 +0000 +++ b/clock.h Mon May 11 15:16:36 2015 +0000 @@ -9,6 +9,13 @@ #ifndef __CLOCK_H__ #define __CLOCK_H__ +#include <stdint.h> +#include "EthernetInterface.h" +#include "mbed.h" +#include "debug.h" +#include "shared_variables.h" +#include "file_system_manager.h" + const uint16_t EXTERNAL_TIME_REQUEST_WAIT_SECONDS = 300; ///< Tempo que a Header espera para sincronizar o timer com o servidor. @@ -106,21 +113,6 @@ int clock_sock_reconnect ( void ); /** - * @Synopsis Converte o current_time do sistema para string. - * - * @param buffer Buffer de escrita onde sera preenchido com o current_time no formato VZ - * - * Exemplo: - * @code - * ... - * char buffer [ 16 ]; - * print_clock ( buffer ); - * ... - * @endcode - */ -void print_clock ( uint8_t * buffer ); - -/** * @Synopsis Exibe uma mensagem no formato "current_time : [Unixtime] clock() : [Vz_time]" * * @return O tamanho ( em bytes ) da mensagem que sera escrita na tela