Telemetry sensor logging doesn't log strings (CRSF FM)
tonyyng opened this issue · 1 comments
tonyyng commented
Is there an existing issue for this problem?
- I have searched the existing issues
What part of EdgeTX is the focus of this bug?
Transmitter firmware
Current Behavior
CRSF uses strings for FM (!ERR, ACRO, WAIT, ANGL, etc.) This gets logged as 0.
This issue was reported in OpenTX:
opentx/opentx#6413
Apologies to teckel12 for borrowing his issue content.
Expected Behavior
The log should contain the correct sensor values
Steps To Reproduce
- Use Crossfire telemetry
- Enable logging of telemetry sensors, specifically FM (flight mode)
- Set custom function to log telemetry
- Review telemetry log and FM sensor values which are all zeros
Version
2.7.0
Transmitter
Jumper T16
Anything else?
stronnag commented
It sees to me that the log writer does not cover the case of UNIT_TEXT
, causing the default value
/ 0 to be written, rather than the text element of the union.