summaryrefslogtreecommitdiff
path: root/board/samus_pd/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/samus_pd/board.c')
-rw-r--r--board/samus_pd/board.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/board/samus_pd/board.c b/board/samus_pd/board.c
index d7c2c8b6e8..dcf40cdd99 100644
--- a/board/samus_pd/board.c
+++ b/board/samus_pd/board.c
@@ -129,8 +129,7 @@ void vbus0_evt(enum gpio_signal signal)
* these unwanted resets.
*/
hook_call_deferred(pericom_port0_reenable_interrupts, 0);
- if (task_start_called())
- task_wake(TASK_ID_PD_C0);
+ task_wake(TASK_ID_PD_C0);
}
void vbus1_evt(enum gpio_signal signal)
@@ -155,8 +154,7 @@ void vbus1_evt(enum gpio_signal signal)
* these unwanted resets.
*/
hook_call_deferred(pericom_port1_reenable_interrupts, 0);
- if (task_start_called())
- task_wake(TASK_ID_PD_C1);
+ task_wake(TASK_ID_PD_C1);
}
static void wake_usb_charger_task(int port)