Skip to content

Commit

Permalink
Fix sfr override max check
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanjma committed Oct 29, 2023
1 parent 50e4805 commit e88bfaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RockblockCommand.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class SFROverrideCommand : public RockblockCommand
bool isValid()
{
if (field != nullptr) {
if (set_value && f_arg_1 >= field->getMin() && f_arg_2 <= field->getMax()) {
if (set_value && f_arg_1 >= field->getMin() && f_arg_1 <= field->getMax()) {
return true;
}
if (!set_value) {
Expand Down

0 comments on commit e88bfaf

Please sign in to comment.