Revert "[crsf] add temperature, RPM and AirSpeed telemetry" #11139
+2
−135
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
User description
Reverts PR #11025 which added CRSF temperature, RPM, and AirSpeed telemetry support.
Changes Reverted
src/main/rx/crsf.h: Removed frame type definitions (CRSF_FRAMETYPE_AIRSPEED_SENSOR,CRSF_FRAMETYPE_RPM,CRSF_FRAMETYPE_TEMP) and payload size constantsrc/main/telemetry/crsf.c: RemovedcrsfFrameAirSpeedSensor(),crsfRpm(),crsfTemperature()functions, helpercrsfSerialize24(), and associated frame scheduling logicCreated via
git revert -m 1 acefeca61de5ef01883c14d262688dbd4cd3d298.Original prompt
This pull request was created as a result of the following prompt from Copilot chat.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.
PR Type
Bug fix
Description
Reverts CRSF telemetry additions that caused regressions
Removes airspeed, RPM, and temperature frame support
Removes associated sensor includes and helper functions
Simplifies frame scheduling logic and reduces payload complexity
Diagram Walkthrough
File Walkthrough
crsf.h
Remove CRSF telemetry frame type definitionssrc/main/rx/crsf.h
CRSF_FRAME_AIRSPEED_PAYLOAD_SIZEconstant definitionCRSF_FRAMETYPE_AIRSPEED_SENSOR,CRSF_FRAMETYPE_RPM,CRSF_FRAMETYPE_TEMPcrsf.c
Remove CRSF telemetry functions and sensor supportsrc/main/telemetry/crsf.c
flight/mixer.h,sensors/esc_sensor.h,sensors/pitotmeter.h,sensors/temperature.hcrsfFrameAirSpeedSensor(),crsfRpm(),crsfTemperature(), and helpercrsfSerialize24()telemetry
crsfSchedulearray fromuint16_ttouint8_ttypeairspeed sensors
initCrsfTelemetry()for ESC andpitot sensors