still debugging

This commit is contained in:
2020-11-05 22:39:24 +01:00
parent 5e6093377f
commit 7c7e1c4725
2 changed files with 3 additions and 2 deletions

View File

@ -167,6 +167,6 @@ void eepromInit() {
coloredMsg(LOG_GREEN, "eeI, about to write device stats with updated power cycles counter");
eepromWrite(DEVICE_STATS_ADDR, deviceStats.b, sizeof(deviceStats));
// schAdd(eepromHourlyUpdateDeviceStats, NULL, 0, 10 * 1000);
// coloredMsg(LOG_GREEN, "eeI, hourly device stats update scheduled");
schAdd(eepromHourlyUpdateDeviceStats, NULL, 0, 10 * 1000);
coloredMsg(LOG_GREEN, "eeI, hourly device stats update scheduled");
}

View File

@ -183,6 +183,7 @@ void scheduleMBusRequest(void *handle) {
void my_setup_2() {
show(LED_RED, OFF);
show(LED_GREEN, ON);
coloredMsg(LOG_BLUE, "Application starting");
eepromInit();