88 file, You can obtain one at http://mozilla.org/MPL/2.0/.
99*/
1010
11- /* *************************************************************************************
11+ /* *****************************************************************************
1212 * INCLUDE
13- ************************************************************************************* * /
13+ ******************************************************************************/
1414
1515#include < time.h>
1616
3333 #include " RTCMillis.h"
3434#endif
3535
36- /* *************************************************************************************
36+ /* *****************************************************************************
3737 * GLOBAL VARIABLES
38- ************************************************************************************* * /
38+ ******************************************************************************/
3939
4040#if !defined(BOARD_HAS_HW_RTC)
4141RTCMillis rtc;
@@ -45,15 +45,15 @@ RTCMillis rtc;
4545RTCZero rtc;
4646#endif
4747
48- /* *************************************************************************************
48+ /* *****************************************************************************
4949 * INTERNAL FUNCTION DECLARATION
50- ************************************************************************************* * /
50+ ******************************************************************************/
5151
5252time_t cvt_time (char const * time);
5353
54- /* *************************************************************************************
54+ /* *****************************************************************************
5555 * RTC PRIVATE FUNCTION DEFINITION
56- ************************************************************************************* * /
56+ ******************************************************************************/
5757
5858#if defined(BOARD_HAS_HW_RTC)
5959 #if defined(ARDUINO_ARCH_SAMD)
@@ -117,23 +117,23 @@ static inline unsigned long _getRTC() {
117117}
118118#endif
119119
120- /* *************************************************************************************
120+ /* *****************************************************************************
121121 * DEFINES
122- ************************************************************************************* * /
122+ ******************************************************************************/
123123
124124#define EPOCH_AT_COMPILE_TIME cvt_time (__DATE__)
125125
126- /* *************************************************************************************
126+ /* *****************************************************************************
127127 * CONSTANTS
128- ************************************************************************************* * /
128+ ******************************************************************************/
129129
130130/* Default NTP synch is scheduled each 24 hours from startup */
131131static time_t const TIMESERVICE_NTP_SYNC_TIMEOUT_ms = DAYS * 1000;
132132static time_t const EPOCH = 0 ;
133133
134- /* *************************************************************************************
134+ /* *****************************************************************************
135135 * CTOR/DTOR
136- ************************************************************************************* * /
136+ ******************************************************************************/
137137
138138TimeServiceClass::TimeServiceClass ()
139139: _con_hdl(nullptr )
@@ -148,9 +148,9 @@ TimeServiceClass::TimeServiceClass()
148148
149149}
150150
151- /* *************************************************************************************
151+ /* *****************************************************************************
152152 * PUBLIC MEMBER FUNCTIONS
153- ************************************************************************************* * /
153+ ******************************************************************************/
154154
155155void TimeServiceClass::begin (ConnectionHandler * con_hdl)
156156{
@@ -306,9 +306,9 @@ unsigned long TimeServiceClass::getTimeFromString(const String& input)
306306
307307 return mktime (&t);
308308}
309- /* *************************************************************************************
309+ /* *****************************************************************************
310310 * PRIVATE MEMBER FUNCTIONS
311- ************************************************************************************* * /
311+ ******************************************************************************/
312312
313313#if defined(HAS_NOTECARD) || defined(HAS_TCP)
314314bool TimeServiceClass::connected ()
@@ -382,9 +382,9 @@ unsigned long TimeServiceClass::getRTC()
382382 return _getRTC ();
383383}
384384
385- /* *************************************************************************************
385+ /* *****************************************************************************
386386 * INTERNAL FUNCTION DEFINITION
387- ************************************************************************************* * /
387+ ******************************************************************************/
388388
389389time_t cvt_time (char const * time)
390390{
0 commit comments