spelling: stabilized

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2025-01-28 15:44:17 -05:00
parent 88ce796b6c
commit 6fc8ed0772
2 changed files with 2 additions and 2 deletions

View file

@ -213,7 +213,7 @@ static void prv_update_state(void *force_update) {
// - We are charging
// - We are discharging and:
// - The readings have stabilized and the battery percent did not go up
// - The readings have not yet stablized
// - The readings have not yet stabilized
// TL;DR: Allow updates unless we're stable and discharging but the % went up.
if (!charging && likely_stable &&
new_charge_percent > s_last_battery_state.percent) {

View file

@ -98,7 +98,7 @@ struct HRMManagerState {
// These variables used to keep track of the sensor reading validity.
bool sensor_stable; // True after we receive the first good reading after power-on or off-wrist
bool off_wrist_when_stable; // true if sensor said off-wrist when first stablized
bool off_wrist_when_stable; // true if sensor said off-wrist when first stabilized
RtcTicks sensor_start_ticks; // tick count last time sensor was powered on, or last
// off-wrist. 0 if still off-wrist or off.
};