forked from Archive/PX4-Autopilot
mkblctrl - hotfix for i2c scan
This commit is contained in:
parent
cc8e85ce7e
commit
d2e32f2fc5
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue