diff options
author | Simon Wilks <sjwilks@gmail.com> | 2013-01-21 23:31:12 +0100 |
---|---|---|
committer | Simon Wilks <sjwilks@gmail.com> | 2013-01-21 23:31:12 +0100 |
commit | ecd01dc2e88a60d71ad87968cd07234a32bf7d8d (patch) | |
tree | 1141dc9b79e720fe128967d1e63373c8b93b98f3 /apps/px4 | |
parent | 64925c33cd751b05128fedc566bd42d381418593 (diff) | |
download | px4-firmware-ecd01dc2e88a60d71ad87968cd07234a32bf7d8d.tar.gz px4-firmware-ecd01dc2e88a60d71ad87968cd07234a32bf7d8d.tar.bz2 px4-firmware-ecd01dc2e88a60d71ad87968cd07234a32bf7d8d.zip |
We aren't using RS485 but single wire.
Diffstat (limited to 'apps/px4')
-rw-r--r-- | apps/px4/tests/test_hott_telemetry.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/px4/tests/test_hott_telemetry.c b/apps/px4/tests/test_hott_telemetry.c index dbef021e3..74aa0e614 100644 --- a/apps/px4/tests/test_hott_telemetry.c +++ b/apps/px4/tests/test_hott_telemetry.c @@ -143,7 +143,7 @@ int test_hott_telemetry(int argc, char *argv[]) } /* Activate single wire mode */ - ioctl(fd, TIOCSRS485, SER_RS485_ENABLED); + ioctl(fd, TIOCSSINGLEWIRE, SER_SINGLEWIRE_ENABLED); char send = 'a'; write(fd, &send, 1); @@ -223,7 +223,7 @@ int test_hott_telemetry(int argc, char *argv[]) /* Disable single wire */ - ioctl(fd, TIOCSRS485, ~SER_RS485_ENABLED); + ioctl(fd, TIOCSSINGLEWIRE, ~SER_SINGLEWIRE_ENABLED); write(fd, &send, 1); |