mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-07 09:41:35 +08:00
aerofc: Fixes for init
This commit is contained in:
committed by
Lorenz Meier
parent
15c75ebb40
commit
893714dc6a
@@ -262,6 +262,9 @@ TAP_ESC::init()
|
||||
return ret;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_ARCH_BOARD_AEROFC_V1
|
||||
#else
|
||||
|
||||
/* Verify All ESC got the config */
|
||||
|
||||
for (uint8_t cid = 0; cid < _channels_count; cid++) {
|
||||
@@ -304,8 +307,11 @@ TAP_ESC::init()
|
||||
if (!valid) {
|
||||
return -EIO;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
/* To Unlock the ESC from the Power up state we need to issue 10
|
||||
* ESCBUS_MSG_ID_RUN request with all the values 0;
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user