Merge pull request #6767 from marv-t/JetiExBus-RX
Jeti receiver doesnt need a resistor anymore
This commit is contained in:
commit
a3a7b1b60a
|
@ -33,12 +33,10 @@
|
||||||
* Number of channels: 16
|
* Number of channels: 16
|
||||||
*
|
*
|
||||||
* Connect as follows:
|
* Connect as follows:
|
||||||
* Jeti EX Bus -> Serial RX (connect directly)
|
* Jeti EX Bus -> Serial TX (connect directly)
|
||||||
* Serial TX -> Resistor(2k4) ->Serial RX
|
|
||||||
* In jeti pdf it is different, but if the resistor breaks, the receiver continues to operate.
|
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
@ -49,8 +47,6 @@
|
||||||
#include "build/build_config.h"
|
#include "build/build_config.h"
|
||||||
#include "build/debug.h"
|
#include "build/debug.h"
|
||||||
|
|
||||||
#include "pg/rx.h"
|
|
||||||
|
|
||||||
#include "common/utils.h"
|
#include "common/utils.h"
|
||||||
|
|
||||||
#include "drivers/time.h"
|
#include "drivers/time.h"
|
||||||
|
@ -278,9 +274,8 @@ bool jetiExBusInit(const rxConfig_t *rxConfig, rxRuntimeConfig_t *rxRuntimeConfi
|
||||||
NULL,
|
NULL,
|
||||||
JETIEXBUS_BAUDRATE,
|
JETIEXBUS_BAUDRATE,
|
||||||
MODE_RXTX,
|
MODE_RXTX,
|
||||||
JETIEXBUS_OPTIONS | (rxConfig->serialrx_inverted ? SERIAL_INVERTED : 0) | (rxConfig->halfDuplex ? SERIAL_BIDIR : 0)
|
JETIEXBUS_OPTIONS | (rxConfig->serialrx_inverted ? SERIAL_INVERTED : 0) | SERIAL_BIDIR
|
||||||
);
|
);
|
||||||
serialSetMode(jetiExBusPort, MODE_RX);
|
|
||||||
return jetiExBusPort != NULL;
|
return jetiExBusPort != NULL;
|
||||||
}
|
}
|
||||||
#endif // SERIAL_RX
|
#endif // SERIAL_RX
|
Loading…
Reference in New Issue