aboutsummaryrefslogtreecommitdiff
path: root/apps/px4/tests/test_hott_telemetry.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/px4/tests/test_hott_telemetry.c')
-rw-r--r--apps/px4/tests/test_hott_telemetry.c4
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);