Travis install time reduced (#3493)

This commit is contained in:
Bertrand Songis
2016-05-14 11:33:02 +02:00
parent 7b3dcec30e
commit f63a9c4cb7
3 changed files with 18 additions and 14 deletions
+4 -4
View File
@@ -49,10 +49,10 @@ void timerSet(int idx, int16_t val)
void initModelTimer(uint32_t idx, uint8_t mode, int16_t start = 0)
{
memset(&g_model.timers[0], 0, sizeof(g_model.timers[0]));
g_model.timers[0].mode = mode;
g_model.timers[0].start = start;
g_model.timers[0].countdownBeep = COUNTDOWN_SILENT;
memset(&g_model.timers[idx], 0, sizeof(TimerData));
g_model.timers[idx].mode = mode;
g_model.timers[idx].start = start;
g_model.timers[idx].countdownBeep = COUNTDOWN_SILENT;
}
/*