summaryrefslogtreecommitdiff
path: root/test/kb_8042.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/kb_8042.c')
-rw-r--r--test/kb_8042.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/kb_8042.c b/test/kb_8042.c
index 88bae5d633..576f8da9c8 100644
--- a/test/kb_8042.c
+++ b/test/kb_8042.c
@@ -197,6 +197,7 @@ static int test_scancode_set2(void)
static int test_power_button(void)
{
+ gpio_set_level(GPIO_POWER_BUTTON_L, 1);
set_scancode(1);
test_chipset_on();
@@ -257,6 +258,7 @@ static int test_sysjump_cont(void)
void run_test(void)
{
test_reset();
+ wait_for_task_started();
if (system_get_image_copy() == SYSTEM_IMAGE_RO) {
RUN_TEST(test_single_key_press);