mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-09 17:11:42 +00:00
lm4: Drop LED blinking from watchdog task
We don't really need this, and want to free up the LED for other debugging uses, so drop it. BUG=chrome-os-partner:10145 TEST=build and boot on snow (for want of a better test) Change-Id: I62aad38e9b29556dde0a3bf8e10a85df577a8e73 Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/24392 Reviewed-by: Randall Spangler <rspangler@chromium.org>
This commit is contained in:
@@ -170,14 +170,6 @@ int watchdog_init(void)
|
||||
void watchdog_task(void)
|
||||
{
|
||||
while (1) {
|
||||
#ifdef BOARD_bds
|
||||
gpio_set_level(GPIO_DEBUG_LED, 1);
|
||||
#endif
|
||||
usleep(WATCHDOG_RELOAD_MS * 1000);
|
||||
watchdog_reload();
|
||||
#ifdef BOARD_bds
|
||||
gpio_set_level(GPIO_DEBUG_LED, 0);
|
||||
#endif
|
||||
usleep(WATCHDOG_RELOAD_MS * 1000);
|
||||
watchdog_reload();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user