Skip to content

Commit b22d74a

Browse files
matteocarneloscorneliusclaussen
authored andcommitted
Fix incorrect sentinel value in YetiDriver
Signed-off-by: Matteo Carnelos <matteo.carnelos98@gmail.com>
1 parent 16d4162 commit b22d74a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/YetiDriver/board_support/evse_board_supportImpl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ void evse_board_supportImpl::wait_for_caps() {
146146
break;
147147
std::this_thread::sleep_for(std::chrono::milliseconds(100));
148148
}
149-
if (i == 49) {
149+
if (i == 50) {
150150
EVLOG_AND_THROW(
151151
Everest::EverestTimeoutError("Did not receive hardware capabilities from Yeti hardware, exiting."));
152152
}

0 commit comments

Comments
 (0)