Skip to content

Commit

Permalink
AP_DroneCAN: ESCStatus read error_count
Browse files Browse the repository at this point in the history
  • Loading branch information
robertlong13 committed Oct 20, 2024
1 parent cfea266 commit 69448c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/AP_DroneCAN/AP_DroneCAN.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1428,6 +1428,7 @@ void AP_DroneCAN::handle_ESC_status(const CanardRxTransfer& transfer, const uavc
.temperature_cdeg = int16_t((KELVIN_TO_C(msg.temperature)) * 100),
.voltage = msg.voltage,
.current = msg.current,
.error_count = msg.error_count,
#if AP_EXTENDED_ESC_TELEM_ENABLED
.power_percentage = msg.power_rating_pct,
#endif
Expand Down

0 comments on commit 69448c6

Please sign in to comment.