We aren't using RS485 but single wire.

This commit is contained in:
Simon Wilks
2013-01-21 23:31:12 +01:00
parent 64925c33cd
commit ecd01dc2e8
3 changed files with 12 additions and 6 deletions
+2 -2
View File
@@ -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);