1
0
Fork 0
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:
Michael Keller 2018-01-24 00:16:38 +13:00 committed by GitHub
commit a9068e1997
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 81 additions and 36 deletions

View file

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