Merge remote-tracking branch 'origin/feature/ISSUE-51' into feature/ISSUE-51
# Conflicts: # app/src/main/java/com/laseroptek/raman/ui/screens/main/MainViewModel.kt
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user