Skip to content

Commit

Permalink
make NO_BLADE_ID_RANGE behave more like blade detect
Browse files Browse the repository at this point in the history
  • Loading branch information
profezzorn committed Dec 10, 2023
1 parent 3e6de7d commit 30462d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blades/blade_id.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ struct NO_BLADE_RangeID {
float id() {
BLADE_ID blade_id;
float ret = blade_id.id();
if (ret >= MIN && ret <= MAX) return NO_BLADE;
if (ret >= MIN && ret <= MAX) ret += NO_BLADE;
return ret;
}
};
Expand Down

0 comments on commit 30462d6

Please sign in to comment.