Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed-rtos mbed HTTPClient VodafoneUSBModem
Diff: main.cpp
- Revision:
- 47:85c30274cc9b
- Parent:
- 46:d2c22206031a
- Child:
- 52:de6cc9d823ab
--- a/main.cpp Wed Sep 19 09:52:46 2012 +0000
+++ b/main.cpp Wed Sep 19 13:59:39 2012 +0000
@@ -28,6 +28,7 @@
Thread::wait(1000);
time_t now = time(NULL);
gPreviousUptime = gUptime;
+ gUptime = now-startTime;
}
}
@@ -36,8 +37,8 @@
LOG("Constructing TestManager");
LOG("Running tests.");
TestManager *m = new TestManager(&modem);
- m->runTestProfile(TESTS_AUTOMATED);
- //m->runTest(8);
+ //m->runTestProfile(TESTS_AUTOMATED);
+ m->runTest(8);
//m->executeTest(26);
//m->executeTest(10);
//m->executeTest(21);
@@ -46,7 +47,7 @@
void setTime() {
struct tm t;
- t.tm_year = 2000;
+ t.tm_year = 100;
t.tm_mon = 0;
t.tm_mday = 0;
t.tm_hour = 0;

