mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-30 18:06:39 +08:00
mkblctrl - hotfix for i2c scan
This commit is contained in:
@@ -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);
|
bus = mk_check_for_i2c_esc_bus(devicepath, motorcount);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user