We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1f01012 + 93127ce commit ad8bdd9Copy full SHA for ad8bdd9
src/serial.rs
@@ -133,8 +133,6 @@ pub fn serial_thread(
133
}
134
135
136
- let dev_is_con = devices.contains(&device);
137
-
138
if reconnect {
139
print_to_console(
140
&print_lock,
@@ -146,7 +144,7 @@ pub fn serial_thread(
146
144
break 'connected_loop;
147
145
148
149
- if !dev_is_con {
+ if !devices.contains(&device) {
150
151
152
Print::Error(format!(
0 commit comments