diff options
author | Simon Wilks <sjwilks@gmail.com> | 2013-01-25 01:41:11 +0100 |
---|---|---|
committer | Simon Wilks <sjwilks@gmail.com> | 2013-01-25 01:41:11 +0100 |
commit | 0246842c8854fcb49ffa34bcf46c61f2b7da95b2 (patch) | |
tree | e7548ad0b60ee181ed9c4804e68a2ca820f12c80 /nuttx | |
parent | 23f0be6b025d84a721b9e08682da728f69d79238 (diff) | |
download | px4-firmware-0246842c8854fcb49ffa34bcf46c61f2b7da95b2.tar.gz px4-firmware-0246842c8854fcb49ffa34bcf46c61f2b7da95b2.tar.bz2 px4-firmware-0246842c8854fcb49ffa34bcf46c61f2b7da95b2.zip |
Enable single wire via ioctl calls and pull the battery voltage from the battery status topic.
Diffstat (limited to 'nuttx')
-rw-r--r-- | nuttx/include/nuttx/serial/tioctl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/include/nuttx/serial/tioctl.h b/nuttx/include/nuttx/serial/tioctl.h index 9edc7e87f..a98b487a6 100644 --- a/nuttx/include/nuttx/serial/tioctl.h +++ b/nuttx/include/nuttx/serial/tioctl.h @@ -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 */ |