Fix MY_CORE_ONLY: Initialize HW (#1070)
This commit is contained in:
@@ -88,6 +88,14 @@ void _infiniteLoop(void)
|
||||
|
||||
void _begin(void)
|
||||
{
|
||||
#if defined(MY_CORE_ONLY)
|
||||
// initialize HW and run setup if present
|
||||
(void)hwInit();
|
||||
if (setup) {
|
||||
setup();
|
||||
}
|
||||
return;
|
||||
#endif
|
||||
// reset wdt
|
||||
hwWatchdogReset();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user