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: libmDot-mbed5 ISL29011
Diff: examples/inc/RadioEvent.h
- Revision:
- 41:67feacfab49c
- Parent:
- 40:3cb0ed329c6e
- Child:
- 44:89b8ed62c32c
diff -r 3cb0ed329c6e -r 67feacfab49c examples/inc/RadioEvent.h
--- a/examples/inc/RadioEvent.h Mon May 18 09:57:44 2020 -0500
+++ b/examples/inc/RadioEvent.h Mon May 18 13:12:47 2020 -0500
@@ -82,6 +82,14 @@
}
}
}
+
+#if ACTIVE_EXAMPLE == FOTA_EXAMPLE
+ virtual void ServerTime(uint32_t seconds, uint8_t sub_seconds) {
+ mDotEvent::ServerTime(seconds, sub_seconds);
+
+ Fota::getInstance()->setClockOffset(seconds);
+ }
+#endif
};
#endif