Skip to content

Commit 81e17d8

Browse files
authored
left forgotten
1 parent a3fc28f commit 81e17d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/VS1/VS1.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,10 @@ void VS1::_init() {
220220

221221
void VS1::_initAck() {
222222
if (_interface->write(&VitoWiFiInternals::ProtocolBytes.ENQ_ACK, 1) == 1) {
223-
_setState(State::IDLE);
223+
_setState(State::WAIT);
224224
_lastMillis = _currentMillis;
225225
} else {
226-
_setState(State::WAIT);
226+
_setState(State::INIT);
227227
}
228228
}
229229

0 commit comments

Comments
 (0)