Przeglądaj źródła

battery pwm_value configured for testing the PWM in the controller

namrota ghosh 7 miesięcy temu
rodzic
commit
2d45fd3c6d
1 zmienionych plików z 1 dodań i 1 usunięć
  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;