]> git.gag.com Git - fw/altos/commit
altos: ignore the first few battery values in telebt-v4.0-seeed
authorKeith Packard <keithp@keithp.com>
Tue, 25 Feb 2025 03:47:11 +0000 (19:47 -0800)
committerKeith Packard <keithp@keithp.com>
Tue, 25 Feb 2025 03:47:11 +0000 (19:47 -0800)
commit01930120dfb37a6aeaf1b3800aad62f56a4e67b9
tree0c4d5f8fb0af53e4b4bd8b09568dd9ea22aeccba
parent0e53052a78f127548c1120df691094f6bda91467
altos: ignore the first few battery values in telebt-v4.0-seeed

The ADC appears to get at least the first value wrong, so discard some
before we check the battery voltage.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/telebt-v4.0-seeed/ao_telebt_seeed.c