Vodafone Test Suite
Dependencies: mbed-rtos mbed HTTPClient VodafoneUSBModem
Diff: main.cpp
- Revision:
- 35:6867af70c51c
- Parent:
- 33:16126e029d58
- Child:
- 36:dd730ff4962e
- Child:
- 37:847f5f86e9ff
--- a/main.cpp Thu Sep 13 10:14:49 2012 +0000 +++ b/main.cpp Thu Sep 13 12:17:18 2012 +0000 @@ -36,15 +36,10 @@ LOG("Constructing TestManager"); TestManager *m = new TestManager(&modem); LOG("Running tests."); - - int numPassed = m->executeTestProfile(TESTS_AUTOMATED); - loopForever(); } - - void setTime() { struct tm t; t.tm_year = 2012; @@ -67,9 +62,8 @@ //setTime(); size_t currentTime = time(NULL); fprintf(stdout,"Invocation time: %s\r\n",ctime(¤tTime)); - - Thread testTask(test, NULL, osPriorityNormal, 1024 * 8); + Thread testTask(test, NULL, osPriorityNormal, 1024 * 7); // this thread just waits and blinks leds periodically while(1) { led1 = !led1;