![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Versão limpa em 04/09/2014. Telnet funcionando.
Dependencies: EthernetInterface mbed-rtos mbed NTPClient
Diff: main.cpp
- Branch:
- feature-logs
- Revision:
- 14:f756167f791f
- Parent:
- 5:6860bed2d096
- Child:
- 18:3e9ad4c03f85
diff -r 097c0178303b -r f756167f791f main.cpp --- a/main.cpp Fri Mar 27 14:42:14 2015 +0000 +++ b/main.cpp Fri Mar 27 14:47:12 2015 +0000 @@ -33,6 +33,8 @@ #include "tftpsrv.h" #include "ntpc.h" +#include "PmedLog.h" + //__attribute((section("AHBSRAM0"),aligned)) char LargeBuffer[1024]; EthernetInterface eth; @@ -92,6 +94,7 @@ t.reset(); */ //Thread::wait(1000); //1000 + PmedLog::Mark(); wait(1); } } @@ -152,6 +155,7 @@ //Start NTP Client for refresh time //Thread ntpc(ntpc::ntpc_Thread); + set_time(1420077600); DisplayRAMBanks();