Receiver doesnt need a resitor anymore
Because JETIEXBUS has been removed for Target F3, serial bidirection is preferred
This commit is contained in:
parent
93a66f4b01
commit
988ac048bf
|
@ -33,12 +33,10 @@
|
|||
* Number of channels: 16
|
||||
*
|
||||
* Connect as follows:
|
||||
* Jeti EX Bus -> Serial RX (connect directly)
|
||||
* Serial TX -> Resistor(2k4) ->Serial RX
|
||||
* In jeti pdf it is different, but if the resistor breaks, the receiver continues to operate.
|
||||
*
|
||||
* Jeti EX Bus -> Serial TX (connect directly)
|
||||
*/
|
||||
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
@ -49,8 +47,6 @@
|
|||
#include "build/build_config.h"
|
||||
#include "build/debug.h"
|
||||
|
||||
#include "pg/rx.h"
|
||||
|
||||
#include "common/utils.h"
|
||||
|
||||
#include "drivers/time.h"
|
||||
|
@ -278,9 +274,8 @@ bool jetiExBusInit(const rxConfig_t *rxConfig, rxRuntimeConfig_t *rxRuntimeConfi
|
|||
NULL,
|
||||
JETIEXBUS_BAUDRATE,
|
||||
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;
|
||||
}
|
||||
#endif // SERIAL_RX
|
||||
#endif // SERIAL_RX
|
Loading…
Reference in New Issue