Add makefile target for running in simulated environment

This commit is contained in:
2024-10-01 15:05:50 +02:00
parent 598540c9d9
commit 93590f7b75
2 changed files with 10 additions and 9 deletions

View File

@@ -65,8 +65,6 @@ static int Init(void)
// - Wrong fuses? Unlikely.
// - Bootloader problems?
return 0;
// The watchdog timer is clocked from a separate
// on-chip oscillator which runs at 1 MHz. Eight
// different clock cycle periods can be selected
@@ -242,13 +240,10 @@ int main(void)
for (;;) {
WDT_Reset();
Info("UPDATE");
continue;
// Update();
Update();
WDT_Reset();
Sleep(1000);
}
UNUSED(Update);
return 0;
}