diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/ec_commands.h | 5 | ||||
-rw-r--r-- | include/peripheral_charger.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/include/ec_commands.h b/include/ec_commands.h index 6a73621cdd..8949077e8e 100644 --- a/include/ec_commands.h +++ b/include/ec_commands.h @@ -6799,6 +6799,11 @@ struct ec_response_pchg { uint32_t error; /* enum pchg_error */ uint8_t state; /* enum pchg_state state */ uint8_t battery_percentage; + uint8_t unused0; + uint8_t unused1; + /* Fields added in version 1 */ + uint32_t fw_version; + uint32_t dropped_event_count; } __ec_align2; enum pchg_state { diff --git a/include/peripheral_charger.h b/include/peripheral_charger.h index 2e535d4f3e..7944efd109 100644 --- a/include/peripheral_charger.h +++ b/include/peripheral_charger.h @@ -151,6 +151,8 @@ struct pchg { uint32_t dropped_event_count; /* enum pchg_mode */ uint8_t mode; + /* FW version */ + uint32_t fw_version; }; /** |