mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 06:15:16 +03:00
Merge pull request #4982 from mikeller/added_rx_processing_function
Added rx data processing function and used it for FPort processing.
This commit is contained in:
commit
a9068e1997
5 changed files with 81 additions and 36 deletions
|
@ -64,6 +64,7 @@ extern "C" {
|
|||
gpsSolutionData_t gpsSol;
|
||||
uint32_t targetPidLooptime;
|
||||
bool cmsInMenu = false;
|
||||
rxRuntimeConfig_t rxRuntimeConfig = {};
|
||||
}
|
||||
|
||||
uint32_t simulationFeatureFlags = 0;
|
||||
|
@ -634,7 +635,7 @@ extern "C" {
|
|||
void mixTable(timeUs_t , uint8_t) {};
|
||||
void writeMotors(void) {};
|
||||
void writeServos(void) {};
|
||||
void calculateRxChannelsAndUpdateFailsafe(timeUs_t) {}
|
||||
bool calculateRxChannelsAndUpdateFailsafe(timeUs_t) { return true; }
|
||||
bool isMixerUsingServos(void) { return false; }
|
||||
void gyroUpdate(timeUs_t) {}
|
||||
timeDelta_t getTaskDeltaTime(cfTaskId_e) { return 0; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue