mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-25 09:16:01 +03:00
Refactor pwm motor/servo output to be mixer-driven (#4705)
* [PWM] Refactor pwm motor/servo output to be mixer-driven. Don't initialise more motor/servo outputs than necessary * [PWM] Add logging and arming blocking flag (ci skip) * [PWM] Remove bootlog; Create a warning message in CLI when PWM out has problems * [PWM] Refactor servo driver and init code; Fix OSD message
This commit is contained in:
parent
b6ba7ece2d
commit
e4391d5b46
57 changed files with 634 additions and 1148 deletions
|
@ -50,7 +50,6 @@
|
|||
#include "drivers/accgyro/accgyro_bmi160.h"
|
||||
#include "drivers/accgyro/accgyro_icm20689.h"
|
||||
#include "drivers/accgyro/accgyro_fake.h"
|
||||
#include "drivers/logging.h"
|
||||
#include "drivers/sensor.h"
|
||||
|
||||
#include "fc/config.h"
|
||||
|
@ -307,8 +306,6 @@ static bool accDetect(accDev_t *dev, accelerationSensor_e accHardwareToUse)
|
|||
break;
|
||||
}
|
||||
|
||||
addBootlogEvent6(BOOT_EVENT_ACC_DETECTION, BOOT_EVENT_FLAGS_NONE, accHardware, 0, 0, 0);
|
||||
|
||||
if (accHardware == ACC_NONE) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue