diff options
author | px4dev <px4@purgatory.org> | 2014-02-12 22:11:09 -0800 |
---|---|---|
committer | px4dev <px4@purgatory.org> | 2014-02-12 22:11:09 -0800 |
commit | dd432e66032c3cb1cb6f65536c28af1dd9f97317 (patch) | |
tree | 471a27b7d69cb2dc6ab0216adab82eb3cd355f98 /src/modules/px4iofirmware | |
parent | cec6b8925e727710884042f9b45c105aa8c4d5af (diff) | |
download | px4-firmware-dd432e66032c3cb1cb6f65536c28af1dd9f97317.tar.gz px4-firmware-dd432e66032c3cb1cb6f65536c28af1dd9f97317.tar.bz2 px4-firmware-dd432e66032c3cb1cb6f65536c28af1dd9f97317.zip |
Remove the s.bus test loop... makes it very hard to update the firmware.
Diffstat (limited to 'src/modules/px4iofirmware')
-rw-r--r-- | src/modules/px4iofirmware/sbus.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/modules/px4iofirmware/sbus.c b/src/modules/px4iofirmware/sbus.c index 32be93d4c..0e7dc621c 100644 --- a/src/modules/px4iofirmware/sbus.c +++ b/src/modules/px4iofirmware/sbus.c @@ -113,17 +113,6 @@ sbus_init(const char *device) } else { debug("S.Bus: open failed"); } - - stm32_configgpio(GPIO_SBUS_OENABLE); - - while (1) { - ENABLE_SBUS_OUT(true); - const char* hello = "HELLO WORLD"; - if (write(sbus_fd, hello, strlen(hello)) != strlen(hello)) - break; - ENABLE_SBUS_OUT(false); - } - return sbus_fd; } |