Skip to content

Commit cab26d5

Browse files
committed
Making LOG_ESC watt_hours 32 bit
1 parent 06e3ab3 commit cab26d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

datatypes.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ typedef struct {
5555
int16_t duty_cycle; // Div/1000
5656
int16_t motor_current; // Div/10
5757
int16_t battery_current; // Div/10
58-
uint16_t watt_hours; // Div/100
58+
uint16_t not_used2; //NOTE: padding
5959

6060
uint16_t watt_hours_regen; // Div/100
6161
uint8_t fault;
6262
uint8_t not_used; //NOTE: padding
63-
uint32_t not_used2; //NOTE: padding
63+
uint32_t watt_hours; // Div/100
6464

6565
int32_t e_rpm;
6666
uint32_t e_distance;

0 commit comments

Comments
 (0)