Skip to content

Commit

Permalink
Update imu.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
PierrickKoch authored Sep 26, 2019
1 parent d447c70 commit 64bbb55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/imu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,10 +169,10 @@ bool IMU1750::query_angle_units(bool& is_da)
if(status)
{
std::vector<uint8_t>::iterator match;
status = find_response(RFCmd, match);
status = find_response(RFCmd, match) && parse_angle_units(match);
if(status)
{
is_da = parse_angle_units(match);
is_da = _is_da;
}
}

Expand Down

0 comments on commit 64bbb55

Please sign in to comment.