Skip to content

Commit

Permalink
Update imu.cpp
Browse files Browse the repository at this point in the history
Fix query_angle_units
  • Loading branch information
PierrickKoch authored Sep 26, 2019
1 parent 5db4ed7 commit d447c70
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 @@ -172,7 +172,7 @@ bool IMU1750::query_angle_units(bool& is_da)
status = find_response(RFCmd, match);
if(status)
{
status = parse_angle_units(match);
is_da = parse_angle_units(match);
}
}

Expand Down Expand Up @@ -520,4 +520,4 @@ bool IMU1750::find_response(const std::string& type,
return status;
}

}
}

0 comments on commit d447c70

Please sign in to comment.