Explorar o código

battery pwm_value configured for testing the PWM in the controller

namrota ghosh hai 7 meses
pai
achega
2d45fd3c6d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/battery_data/battery.h

+ 1 - 1
src/battery_data/battery.h

@@ -45,7 +45,7 @@ typedef enum __attribute((packed))__{
     SLOT_ERR_DAC_WRITE_FAILED= (0x26 | 0x80)
 } SlotState;
 
-typedef struct  __attribute__((packed)){
+typedef struct{
     uint16_t voltage;
     int16_t current;
     uint16_t temperature;