Add reset functionality

This commit is contained in:
GHOSCHT 2023-03-30 19:53:33 +02:00
parent d06117245d
commit e5e11549b7

View file

@ -395,8 +395,8 @@ auto message::parser::StateVisitor::operator()(state::CommandReset) -> State {
// invalidCallback("CommandVersion: Too many bytes left"); // invalidCallback("CommandVersion: Too many bytes left");
return state::Invalid{}; return state::Invalid{};
} }
ESP.restart();
return state::Invalid{}; return state::Complete{};
} }
auto message::parser::StateVisitor::operator()(state::Complete) -> State { auto message::parser::StateVisitor::operator()(state::Complete) -> State {