Procházet zdrojové kódy

battery pwm_value configured for testing the PWM in the controller

namrota ghosh před 7 měsíci
rodič
revize
2d45fd3c6d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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;