mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-07 03:57:07 +03:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user