accelerometer: new hardware swaps interrupt wiring

This commit is contained in:
joeycastillo
2024-11-18 19:46:11 -05:00
parent b5fd0f7418
commit b00faa2b03
3 changed files with 20 additions and 29 deletions

View File

@@ -44,7 +44,7 @@ static void _accel_interrupt_count_face_update_display(accel_interrupt_count_sta
watch_display_text(WATCH_POSITION_TOP_LEFT, "AC");
// Sleep/active state
if (HAL_GPIO_A3_read()) watch_display_text(WATCH_POSITION_TOP_RIGHT, " S");
if (HAL_GPIO_A4_read()) watch_display_text(WATCH_POSITION_TOP_RIGHT, " S");
else watch_display_text(WATCH_POSITION_TOP_RIGHT, " A");
// Orientation changes / active minutes