Skip to content

Commit aadbec9

Browse files
committed
re-adding slate params
1 parent d310888 commit aadbec9

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/slate/slate.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@ typedef struct samwise_slate
4141
absolute_time_t entered_current_state_time;
4242
uint64_t time_in_current_state_ms;
4343

44+
/*
45+
* Power Telemetry
46+
*/
47+
uint16_t battery_voltage; // in mV (to 0.001V)
48+
uint16_t battery_current; // in mA (to 0.001A)
49+
uint16_t solar_voltage; // in mV (to 0.001V)
50+
uint16_t solar_current; // in mA (to 0.001A)
51+
4452
/*
4553
* Watchdog
4654
*/

0 commit comments

Comments
 (0)