Skip to content

Commit

Permalink
When reading the GPIO value to enter fastboot, flip it so it doesn't …
Browse files Browse the repository at this point in the history
…break the modem scripts
  • Loading branch information
Biktorgj committed Sep 16, 2020
1 parent 1f2b018 commit 40d509b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion target/mdm9607/keypad.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ int get_fastboot_key_state(void)

ret = gpio_get_state(FASTBOOT_KEY_GPIO_ID);

return ret;
return !ret;
}

/*
Expand Down

0 comments on commit 40d509b

Please sign in to comment.