if482.cpp bugfix

This commit is contained in:
Verkehrsrot 2019-03-06 22:56:51 +01:00
parent 6d26dd8e08
commit bc4b4184a9

View File

@ -72,7 +72,7 @@ U: UTC time (not supported by all systems),
L: Local Time L: Local Time
***) Day of week: ***) Day of week:
not evaluated by model BU-190 not evaluated by model BU-190, use "F" instead for this model
*/ */
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////
@ -99,7 +99,7 @@ void IF482_Pulse(time_t t) {
String IRAM_ATTR IF482_Frame(time_t startTime) { String IRAM_ATTR IF482_Frame(time_t startTime) {
time_t t = myTZ.toLocal(startTime); time_t t = myTZ.toLocal(startTime);
char mon, out[IF482_FRAME_SIZE]; char mon, out[IF482_FRAME_SIZE + 1];
switch (timeStatus()) { // indicates if time has been set and recently synced switch (timeStatus()) { // indicates if time has been set and recently synced
case timeSet: // time is set and is synced case timeSet: // time is set and is synced