EdgeTX / edgetx

EdgeTX is the cutting edge open source firmware for your R/C radio
https://edgetx.org
GNU General Public License v2.0
1.59k stars 338 forks source link

Jumper T14/T-Pro, T-Lite not logging when USB/VCP is connected, bug? #5549

Open Johanl1964 opened 1 month ago

Johanl1964 commented 1 month ago

Is there an existing issue for this problem?

What part of EdgeTX is the focus of this bug?

Transmitter firmware

Current Behavior

When I connect USB/VCP (telemetry mirror) to Telemetry viewer there is no logging in the transmitter even though this is activated, when USB/VCP is not connected logging works as usual!

Expected Behavior

Would like to be able to log in as usual even though USB/VCP is connected

Steps To Reproduce

xx

Version

Nightly (Please give date/commit below)

Transmitter

Jumper T14

Operating System (OS)

Windows

OS Version

w10

Anything else?

x

3djc commented 1 month ago

Currently, sd logging is purposefully disabled when USB is plugged: https://github.com/EdgeTX/edgetx/blob/edb04cc83373f9f13dce8ad69e671343883dd75c/radio/src/logs.cpp#L253

I need to investigate if it is possible to remove that limitation

Johanl1964 commented 1 month ago

Currently, sd logging is purposefully disabled when USB is plugged:

https://github.com/EdgeTX/edgetx/blob/edb04cc83373f9f13dce8ad69e671343883dd75c/radio/src/logs.cpp#L253

I need to investigate if it is possible to remove that limitation

Thanks, would be great if it can be solved! Even though you have an external USB device, there is still the need to be able to save the log on SD