![](/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: clock.cpp
- Revision:
- 135:2f4290590e51
- Parent:
- 132:05cd37f7e007
diff -r 395678c651d8 -r 2f4290590e51 clock.cpp --- a/clock.cpp Tue Sep 01 19:34:34 2015 +0000 +++ b/clock.cpp Thu Sep 10 20:11:35 2015 +0000 @@ -159,7 +159,7 @@ result_tm->tm_hour -= 3; if ( result_tm->tm_hour < 0 ) result_tm->tm_hour = 24 + result_tm->tm_hour; - size_t formated_nbytes = strftime( formated_time, sizeof( formated_time ), "%Y%m%d%H%M%S", result_tm ); + strftime ( formated_time, sizeof( formated_time ), "%Y%m%d%H%M%S", result_tm ); strncat ( buffer, formated_time, available_bytes ); }