Browse Source

sbus:Add comment that turning off the single wire has not effect

sbg
David Sidrane 7 years ago committed by Lorenz Meier
parent
commit
d0d361ef92
  1. 4
      src/lib/rc/sbus.cpp

4
src/lib/rc/sbus.cpp

@ -218,7 +218,9 @@ sbus_config(int sbus_fd, bool singlewire) @@ -218,7 +218,9 @@ sbus_config(int sbus_fd, bool singlewire)
tcsetattr(sbus_fd, TCSANOW, &t);
if (singlewire) {
/* only defined in configs capable of IOCTL */
/* only defined in configs capable of IOCTL
* Note It is never turned off
*/
#ifdef TIOCSSINGLEWIRE
ioctl(sbus_fd, TIOCSSINGLEWIRE, SER_SINGLEWIRE_ENABLED);
#endif

Loading…
Cancel
Save