fmu: add CRSF RC and Telemetry support

- Telemetry is only enabled on omnibus, since on Pixhawk it seems we cannot
  write to the RC UART due to how the board is wired
- For the Telemetry the UART needs to be opened RW
This commit is contained in:
Beat Küng
2018-07-28 15:23:09 +02:00
committed by Lorenz Meier
parent 04dbd40723
commit 6e24bbbaaf
6 changed files with 367 additions and 7 deletions
+1 -1
View File
@@ -294,7 +294,7 @@ dsm_init(const char *device)
{
if (dsm_fd < 0) {
dsm_fd = open(device, O_RDONLY | O_NONBLOCK);
dsm_fd = open(device, O_RDWR | O_NONBLOCK);
}
dsm_proto_init();