Skip to content

Commit

Permalink
AP_ExternalAHRS: remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
khancyr committed Mar 8, 2024
1 parent 1a8f1be commit edbc2a5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions libraries/AP_ExternalAHRS/AP_ExternalAHRS_InertialLabs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -494,9 +494,7 @@ bool AP_ExternalAHRS_InertialLabs::check_uart()
GOT_MSG(ORIENTATION_ANGLES) &&
GOT_MSG(VELOCITIES)) {

float roll, pitch, yaw;
state.quat.to_euler(roll, pitch, yaw);
uint64_t now_us = AP_HAL::micros64();
const uint64_t now_us = AP_HAL::micros64();

// @LoggerMessage: ILB1
// @Description: InertialLabs AHRS data1
Expand Down

0 comments on commit edbc2a5

Please sign in to comment.