Skip to content

Commit

Permalink
Fix #13
Browse files Browse the repository at this point in the history
  • Loading branch information
keesverruijt committed Nov 19, 2017
1 parent 6c44345 commit 8e7ed30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GuardZone.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ void GuardZone::ProcessSpoke(SpokeBearing angle, uint8_t* data, uint8_t* hist, s
size_t range_start = m_inner_range * m_ri->m_pixels_per_meter; // Convert from meters to [0..spoke_len_max>
size_t range_end = m_outer_range * m_ri->m_pixels_per_meter; // Convert from meters to [0..spoke_len_max>
bool in_guard_zone = false;
AngleDegrees degAngle = angle / 333;
AngleDegrees degAngle = SCALE_SPOKES_TO_DEGREES(angle);

switch (m_type) {
case GZ_ARC:
Expand Down

0 comments on commit 8e7ed30

Please sign in to comment.