mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-28 05:30:34 +08:00
sbus:Add comment that turning off the single wire has not effect
This commit is contained in:
committed by
Lorenz Meier
parent
ec73e73934
commit
d0d361ef92
+3
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user