Verified Commit 83ad85a7 authored by Rahix's avatar Rahix
Browse files

hotfix(epicardium): Disable watchdog


Signed-off-by: Rahix's avatarRahix <rahix@rahix.de>
parent 2e84e69a
......@@ -105,7 +105,12 @@ int main(void)
}
/* Watchdog petting */
#if 0
/*
* Disabled for this release.
*/
watchdog_clearer_init();
#endif
LOG_DEBUG("startup", "Starting FreeRTOS ...");
vTaskStartScheduler();
......
......@@ -32,6 +32,10 @@ int hardware_early_init(void)
/*
* Watchdog timer
*/
#if 0
/*
* Disabled for this release.
*/
sys_cfg_wdt_t wdt_cfg = NULL;
WDT_Init(MXC_WDT0, wdt_cfg);
......@@ -45,6 +49,7 @@ int hardware_early_init(void)
MXC_WDT0,
WDT_PERIOD_2_27); /* Clocked by PCLK at 50MHz, reset at 2^27 ticks = 2.7 seconds */
WDT_EnableReset(MXC_WDT0, 1);
#endif
/*
* I2C bus for onboard peripherals (ie. PMIC, BMA400, BHI160, BME680,
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment