mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-28 12:14:06 +08:00
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…
x
Reference in New Issue
Block a user