We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67a35d3 commit f1ff4a1Copy full SHA for f1ff4a1
mod/src/main/kotlin/gay/object/mlogv32/ProcessorAccess.kt
@@ -439,6 +439,11 @@ data class SerialRequest(
439
var overflowCount = 0
440
441
val fromUart = runOnMainThread {
442
+ if (!processor.build.isValid) {
443
+ Log.info("ProcessorAccess build invalid, closing serial connection.")
444
+ return@runOnMainThread null
445
+ }
446
+
447
if (!processor.powerSwitch.enabled) {
448
when {
449
disconnectOnHalt -> return@runOnMainThread null
0 commit comments