mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-12-31 01:33:16 +00:00
LOLI: RX config
This commit is contained in:
@@ -263,10 +263,6 @@ uint8_t packet_in[TELEMETRY_BUFFER_SIZE];//telemetry receiving packets
|
||||
bool DSM_SerialRX=false;
|
||||
#endif
|
||||
#endif // TELEMETRY
|
||||
#ifdef LOLI_NRF24L01_INO
|
||||
bool LOLI_SerialRX=false;
|
||||
uint8_t LOLI_P1=0, LOLI_P2=0;
|
||||
#endif
|
||||
|
||||
// Callback
|
||||
typedef uint16_t (*void_function_t) (void);//pointer to a function with no parameters which return an uint16_t integer
|
||||
@@ -2074,14 +2070,6 @@ void update_serial_data()
|
||||
DSM_SerialRX=true;
|
||||
}
|
||||
#endif
|
||||
#ifdef LOLI_NRF24L01_INO
|
||||
if(protocol==PROTO_LOLI && rx_len==27+2)
|
||||
{//Protocol waiting for 2 bytes
|
||||
LOLI_SerialRX=true;
|
||||
LOLI_P1=rx_ok_buff[27];
|
||||
LOLI_P2=rx_ok_buff[28];
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
RX_DONOTUPDATE_off;
|
||||
|
||||
Reference in New Issue
Block a user