DCD 설정 관련 이슈 해결 #53

Closed
steven wants to merge 9 commits from feature/ISSUE-51 into develop
Showing only changes of commit c1273bd924 - Show all commits

View File

@@ -819,10 +819,7 @@ class MainViewModel @Inject constructor(
// Because serial open() is started in rxPacketLoop() asynchronously, // Because serial open() is started in rxPacketLoop() asynchronously,
// FD can still be -1 here (startup race). Wait briefly before first TX burst. // FD can still be -1 here (startup race). Wait briefly before first TX burst.
if (!waitUntilSerialReady()) { if (!waitUntilSerialReady()) {
Timber.e( Timber.e("txPacketOnce skipped: serial port is not ready (fd=%d)", serialPortRepository.getFD())
"txPacketOnce skipped: serial port is not ready (fd=%d)",
serialPortRepository.getFD()
)
return@launch return@launch
} }