Skip to content

Commit

Permalink
Use new convert methods
Browse files Browse the repository at this point in the history
  • Loading branch information
hhvrc committed Oct 1, 2024
1 parent b448fee commit 155a7dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/serial/SerialInputHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ void _handleEStopPinCommand(std::string_view arg) {
}

uint8_t pin;
if (!OpenShock::IntConv::stou8(arg, pin)) {
if (!OpenShock::Convert::ToUint8(arg, pin)) {
SERPR_ERROR("Invalid argument (number invalid or out of range)");
return;
}
Expand Down

0 comments on commit 155a7dc

Please sign in to comment.