mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 12:55:19 +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
10
src/main/sensors/esc_sensor.h
Normal file
10
src/main/sensors/esc_sensor.h
Normal file
|
@ -0,0 +1,10 @@
|
|||
#pragma once
|
||||
|
||||
uint8_t escSensorFrameStatus(void);
|
||||
bool escSensorInit(void);
|
||||
bool isEscSensorActive(void);
|
||||
int16_t getEscSensorVbat(void);
|
||||
int16_t getEscSensorCurrent(void);
|
||||
int16_t getEscSensorConsumption(void);
|
||||
|
||||
void escSensorProcess(uint32_t currentTime);
|
Loading…
Add table
Add a link
Reference in a new issue