aerofc: Fixes for init

This commit is contained in:
James Goppert
2016-11-28 09:21:12 +01:00
committed by Lorenz Meier
parent 15c75ebb40
commit 893714dc6a
8 changed files with 103 additions and 16 deletions
+6
View File
@@ -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;
*/