oops. activity tracking: high means stationary, low means active

This commit is contained in:
Joey Castillo 2025-05-17 14:32:01 -04:00
parent 5097f140b4
commit a5131313b3

View File

@ -114,7 +114,7 @@ movement_watch_face_advisory_t activity_logging_face_advise(void *context) {
activity_logging_state_t *state = (activity_logging_state_t *)context;
movement_watch_face_advisory_t retval = { 0 };
if (HAL_GPIO_A4_read()) state->active_minutes_today++;
if (!HAL_GPIO_A4_read()) state->active_minutes_today++;
watch_date_time_t datetime = movement_get_local_date_time();
// request a background task at midnight to shuffle the data into the log