summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/arcada_ish/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/arcada_ish/board.c b/board/arcada_ish/board.c
index 725248a1b6..8d1566723e 100644
--- a/board/arcada_ish/board.c
+++ b/board/arcada_ish/board.c
@@ -155,7 +155,7 @@ int board_sensor_at_360(void)
* closed at 0 degrees. Ignore the hall sensor when the lid close is
* also active.
*/
- return gpio_get_level(GPIO_LID_OPEN) &&
+ return lid_is_open() &&
!gpio_get_level(HALL_SENSOR_GPIO_L);
}