publish

Dependencies:   ISL29011

Revision:
42:67feacfab49c
Parent:
41:3cb0ed329c6e
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