Remove the s.bus test loop... makes it very hard to update the firmware.

This commit is contained in:
px4dev
2014-02-12 22:11:09 -08:00
parent cec6b8925e
commit dd432e6603
-11
View File
@@ -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;
}