Add reset functionality
This commit is contained in:
parent
08ca59099d
commit
f458187095
1 changed files with 2 additions and 2 deletions
|
@ -395,8 +395,8 @@ auto message::parser::StateVisitor::operator()(state::CommandReset) -> State {
|
|||
// invalidCallback("CommandVersion: Too many bytes left");
|
||||
return state::Invalid{};
|
||||
}
|
||||
|
||||
return state::Invalid{};
|
||||
ESP.restart();
|
||||
return state::Complete{};
|
||||
}
|
||||
|
||||
auto message::parser::StateVisitor::operator()(state::Complete) -> State {
|
||||
|
|
Reference in a new issue