mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 18:23:33 +08:00
Enable single wire via ioctl calls and pull the battery voltage from the battery status topic.
This commit is contained in:
@@ -177,7 +177,7 @@
|
||||
#define TIOCSSINGLEWIRE _TIOC(0x002c) /* Set single-wire mode */
|
||||
#define TIOCGSINGLEWIRE _TIOC(0x002d) /* Get single-wire mode */
|
||||
|
||||
# define SER_SINGLEWIRE_ENABLED (1 << 0) /* Enable/disble single-wire support */
|
||||
# define SER_SINGLEWIRE_ENABLED (1 << 0) /* Enable/disable single-wire support */
|
||||
|
||||
/* Debugging */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user