Sergei G / Mbed OS JobSchedulerDemo

Dependencies:   JobScheduler

Files at this revision

API Documentation at this revision

Comitter:
sgnezdov
Date:
Tue Jul 11 22:35:51 2017 +0000
Parent:
4:c40e9bb559a5
Child:
6:b0bca03d9f3a
Commit message:
increased amount of time to run

Changed in this revision

JobScheduler.lib Show annotated file Show diff for this revision Revisions of this file
source/main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/JobScheduler.lib	Tue Jul 11 22:05:27 2017 +0000
+++ b/JobScheduler.lib	Tue Jul 11 22:35:51 2017 +0000
@@ -1,1 +1,1 @@
-JobScheduler#78bcd5a675e1
+JobScheduler#d8f69ac330f2
--- a/source/main.cpp	Tue Jul 11 22:05:27 2017 +0000
+++ b/source/main.cpp	Tue Jul 11 22:35:51 2017 +0000
@@ -21,7 +21,7 @@
     time_t nowSecs = time(NULL);
     JobScheduler::Response<JobScheduler::JobID> res = scheduler.JobAdd(1, new JobScheduler::RunOnceSchedule(nowSecs + 5), NULL);
     printf("job add response error: %d, jobID: %d\n", res.error, res.data);
-    wait(5);
+    wait(10);
     scheduler.Stop();
     scheduler.WaitToStop();
 }