Skip to content

Commit

Permalink
minimal changes for code quality alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
AJ-Koenig committed Dec 9, 2023
1 parent f542989 commit 862a88d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Software/src/Utilities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ void OSSM::setEncoderPercentage(float percentage)
percentage = 100;
}

int position = round(encoderFullScale * percentage / 100);
int position = int(encoderFullScale * percentage / 100);
g_encoder.write(position);
}

Expand Down

0 comments on commit 862a88d

Please sign in to comment.