aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/mkblctrl/mkblctrl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/mkblctrl/mkblctrl.cpp')
-rw-r--r--src/drivers/mkblctrl/mkblctrl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/mkblctrl/mkblctrl.cpp b/src/drivers/mkblctrl/mkblctrl.cpp
index bd058e5d0..0a41bfef4 100644
--- a/src/drivers/mkblctrl/mkblctrl.cpp
+++ b/src/drivers/mkblctrl/mkblctrl.cpp
@@ -1567,7 +1567,7 @@ mkblctrl_main(int argc, char *argv[])
}
- if (bus != -1) {
+ if (bus == -1) {
bus = mk_check_for_i2c_esc_bus(devicepath, motorcount);
}