-
-
Notifications
You must be signed in to change notification settings - Fork 350
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: check both SBUS trainer ports regardless of TRAINER_MODULE_SBUS_USART #5149
Conversation
Thanks |
Successfully tested with QX7Acces radio (main and 2.10.1) |
.. regardless of TRAINER_MODULE_SBUS_USART define
I've struggled about an "issue" with my RM MT12. Find the discussion started by me at Discord: |
It's the opposite: S.PORT pin is only used if no heartbeat pin can be used (no hardware serial). It was mistaken in 2.10.1 and has been fixed in 2.10.2. |
OK - Thanks for clarification |
@raphaelcoeffic I have yet to check TX16s 2.10.2. It has a hardware serial on HB but as you know not functional for receiving serial data without a hairy mod. Place your bets if the change killed Master/SBUS on the TX16s. |
The HB pin on TX16S does not support inversion, so SPORT pin is used there with 2.10.2 |
yes, tested, TX16s works with SBUS on SPort. |
Using V2.10.4 I also tried using ToolkitRC SBUS output hooked up to module bay again to both HB and SPORT pins also without luck. I also tried the above with Pocket and Zorro reversed. No luck. I do hope I can get it working as it’s a really nice feature and would be great to have it up &running and fully documented. I tried the wired trainer method and all worked fine as expected. |
I have finally figured it out. :) It appears that different pins may have to be used on different radios. My working setup is as follows: Pupil Setup -> |
Fixes #5139
Summary of changes:
#if defined(TRAINER_MODULE_SBUS_USART)
and just check presence of potential ports instead.