File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33set -e
44
5- IO_BOARDS_SHA=b45e1154c041b25fb4206e31d35fa0a5800f2c37
5+ IO_BOARDS_SHA=2e524ec19edfafeb868fdc65af6b1e4df7bde38f
66LIBSERIALPORT_SHA=21b3dfe5f68c205be4086469335fd2fc2ce11ed2
77YAML_CPP_SHA=28f93bdec6387d42332220afa9558060c8016795
88
Original file line number Diff line number Diff line change @@ -433,9 +433,13 @@ bool RS485Comm::RestartBoards() {
433433 return false ;
434434 }
435435 sp_drain (m_pSerialPort);
436- std::this_thread::sleep_for (std::chrono::milliseconds (100 ));
436+ // Soft restart keeps the RP2040 alive, but a board with heavier local
437+ // teardown work (for example WS2812/effects state on the first board on the
438+ // bus) may need a little longer before it can reliably acknowledge the first
439+ // config frame of the next session.
440+ std::this_thread::sleep_for (std::chrono::milliseconds (250 ));
437441 sp_flush (m_pSerialPort, SP_BUF_INPUT);
438- std::this_thread::sleep_for (std::chrono::milliseconds (100 ));
442+ std::this_thread::sleep_for (std::chrono::milliseconds (150 ));
439443 return true ;
440444}
441445
You can’t perform that action at this time.
0 commit comments