mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
Moved ESC telemetry to sensors
This commit is contained in:
parent
aa1ae88ddf
commit
b53cbbefc3
33 changed files with 154 additions and 158 deletions
|
@ -104,7 +104,7 @@
|
|||
#include "sensors/initialisation.h"
|
||||
|
||||
#include "telemetry/telemetry.h"
|
||||
#include "telemetry/esc_telemetry.h"
|
||||
#include "sensors/esc_sensor.h"
|
||||
|
||||
#include "flight/pid.h"
|
||||
#include "flight/imu.h"
|
||||
|
@ -493,9 +493,9 @@ void init(void)
|
|||
}
|
||||
#endif
|
||||
|
||||
#ifdef USE_ESC_TELEMETRY
|
||||
if (feature(FEATURE_ESC_TELEMETRY)) {
|
||||
escTelemetryInit();
|
||||
#ifdef USE_ESC_SENSOR
|
||||
if (feature(FEATURE_ESC_SENSOR)) {
|
||||
escSensorInit();
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue