This commit is contained in:
loucass003 committed 2026-09-25 05:09:06 +02:00
1 parent c3391f16c0
commit faedf3092f
1 file changed
+1 -2
@@ -71,8 +71,7 @@ private class AndroidSerialWatcher(
}
}
override suspend fun open(portLocation: String, onLine: (String) -> Unit, onClosed: () -> Unit): SerialPortHandle? =
withContext(Dispatchers.IO) { openAndroidPort(portLocation, usbManager, onLine, onClosed) }
override suspend fun open(portLocation: String, onLine: (String) -> Unit, onClosed: () -> Unit): SerialPortHandle? = withContext(Dispatchers.IO) { openAndroidPort(portLocation, usbManager, onLine, onClosed) }
override fun openForFlashing(): FlashingHandler = AndroidFlashingHandler(context, usbManager)
}