Prechádzať zdrojové kódy

battery pwm_value configured for testing the PWM in the controller

namrota ghosh 7 mesiacov pred
rodič
commit
2d45fd3c6d
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  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;