Skip to content
Snippets Groups Projects
Commit 086da6bd authored by Jeff Gough's avatar Jeff Gough
Browse files

Ran code-format.sh

parent 2e4135ee
No related branches found
No related tags found
No related merge requests found
Pipeline #3028 passed
......@@ -32,7 +32,7 @@ int hardware_early_init(void)
/*
* Watchdog timer
*/
watchdog_init();
watchdog_init();
/*
* I2C bus for onboard peripherals (ie. PMIC, BMA400, BHI160, BME680,
......@@ -194,8 +194,8 @@ int hardware_init(void)
LOG_DEBUG("init", "Starting light sensor ...");
epic_light_sensor_run();
/* Watchdog clearer software timer */
watchdog_clearer_init();
/* Watchdog clearer software timer */
watchdog_clearer_init();
return 0;
}
......
......@@ -26,8 +26,8 @@ void watchdog_init()
WDT_Enable(MXC_WDT0, 1);
WDT_SetResetPeriod(
MXC_WDT0,
WDT_PERIOD_2_28); /* Clocked by PCLK at 50MHz, reset at 2^28 ticks = 5.4 seconds */
MXC_WDT0,
WDT_PERIOD_2_28); /* Clocked by PCLK at 50MHz, reset at 2^28 ticks = 5.4 seconds */
WDT_EnableReset(MXC_WDT0, 1);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment