gtests fix
This commit is contained in:
@@ -49,7 +49,7 @@ void timerSet(int idx, int16_t val)
|
|||||||
|
|
||||||
void initModelTimer(uint32_t idx, uint8_t mode, int16_t start = 0)
|
void initModelTimer(uint32_t idx, uint8_t mode, int16_t start = 0)
|
||||||
{
|
{
|
||||||
memset(g_model.timers[0], 0, sizeof(g_model.timers[0]));
|
memset(&g_model.timers[0], 0, sizeof(g_model.timers[0]));
|
||||||
g_model.timers[0].mode = mode;
|
g_model.timers[0].mode = mode;
|
||||||
g_model.timers[0].start = start;
|
g_model.timers[0].start = start;
|
||||||
g_model.timers[0].countdownBeep = COUNTDOWN_SILENT;
|
g_model.timers[0].countdownBeep = COUNTDOWN_SILENT;
|
||||||
|
|||||||
Reference in New Issue
Block a user