1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00

Initial install of GHST driver

First pass at GHST driver including low-latency control, and basic telemetry.

Fix Ghost channel scaling

Use ghstChannelData instead of rxRuntimeState->channelData

Integrate PR feedback

Primarily de-tab and a few cosmetic changes.

Keep Travis CI happy

Removed unused function

Rework ghost driver to reduce time in ISR, move processing

As requested in PR review.
Fixed issue in telemetry driver, mAh consumed is transmitted as units of 10mAh, not 1mAh.

Resolve Packet Collision Issue with GHST

Send telemetry packets only within a well defined time slot after an incoming Rx packet.

Remove unnecessary comment

rxRefreshRate doesn't need to be dynamic.

Ghost - Remove special case from scheduler

No need to reschedule telemetry for the Ghost protocol.
This commit is contained in:
Unknown 2020-09-26 10:43:33 +02:00 committed by mikeller
parent efa39dc0f6
commit 5bf4f71a6d
17 changed files with 688 additions and 1 deletions

View file

@ -239,6 +239,7 @@ static const char * const lookupTableSerialRX[] = {
"CUSTOM",
"FPORT",
"SRXL2",
"GHST",
};
#endif