Pārlūkot izejas kodu

battery pwm_value configured for testing the PWM in the controller

namrota ghosh 7 mēneši atpakaļ
vecāks
revīzija
2d45fd3c6d
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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;