Battery gauge fix (#52)

* Fix battery reporting in status.json, and adjust scaling for bettery level representation

* remove comment verbosity

* change battery_value_svc to return float

Co-authored-by: rochuck <chuck@zethus.ca>
This commit is contained in:
Chuck
2020-09-12 09:31:28 -06:00
committed by GitHub
parent 189bc763dd
commit cc5fb49ff8
3 changed files with 16 additions and 8 deletions

View File

@@ -16,6 +16,6 @@ extern bool jack_inserted_svc(void);
extern void (*spkfault_handler_svc)(bool inserted);
extern bool spkfault_svc(void);
extern int battery_value_svc(void);
extern float battery_value_svc(void);
extern uint8_t battery_level_svc(void);