Versão limpa em 04/09/2014. Telnet funcionando.
Dependencies: EthernetInterface mbed-rtos mbed NTPClient
Diff: main.cpp
- Branch:
- feature-logs
- Revision:
- 18:3e9ad4c03f85
- Parent:
- 14:f756167f791f
- Child:
- 20:54e8563fb78c
diff -r 2d80e3aeeea7 -r 3e9ad4c03f85 main.cpp --- a/main.cpp Fri Mar 27 15:14:12 2015 +0000 +++ b/main.cpp Fri Mar 27 15:22:40 2015 +0000 @@ -129,6 +129,8 @@ } int main() { + PmedLog::WriteEntry(PMEDLOG_INITIALIZING); + printf("\r\nNova versao 44...\r\n"); FILE *f; //Set Highest Priority @@ -174,10 +176,13 @@ //printf("0x%lx\n", LargeBuffer); + PmedLog::WriteEntry(PMEDLOG_STARTED); + //Jump to the capture routine(will run on this thread) thread1(NULL); while(1){//never reaches here + PmedLog::WriteEntry(PMEDLOG_WRONGCODE); printf("Reset\n"); f = fopen(FILENAMERESET, "a"); if (f == NULL)