1
0
Fork 0
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:
Konstantin Sharlaimov 2019-05-18 15:10:54 +02:00 committed by GitHub
parent b6ba7ece2d
commit e4391d5b46
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
57 changed files with 634 additions and 1148 deletions

View file

@ -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;
}