mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-07-04 12:37:53 +00:00
Add CYRF HW reset
This commit is contained in:
parent
25ee3238c3
commit
043633c061
@ -50,6 +50,9 @@ enum PROTOCOLS
|
||||
MODE_SHENQI=19, // =>NRF24L01
|
||||
MODE_FY326=20, // =>NRF24L01
|
||||
MODE_SFHSS=21 // =>CC2500
|
||||
MODE_J6PRO=22, // =>CYRF6936
|
||||
MODE_FQ777=23, // =>NRF24L01
|
||||
MODE_ASSAN=24 // =>NRF24L01
|
||||
};
|
||||
|
||||
enum Flysky
|
||||
@ -235,6 +238,8 @@ struct PPM_Parameters
|
||||
#else
|
||||
#define CYRF_CSN_on PORTB |= _BV(1) //D9
|
||||
#define CYRF_CSN_off PORTB &= ~_BV(1) //D9
|
||||
#define CYRF_RST_HI PORTC |=_BV(5) //reset cyrf
|
||||
#define CYRF_RST_LO PORTC &= ~_BV(5) //
|
||||
#endif
|
||||
//
|
||||
#ifdef XMEGA
|
||||
@ -576,4 +581,4 @@ Serial: 100000 Baud 8e2 _ xxxx xxxx p --
|
||||
2047 +125%
|
||||
Channels bits are concatenated to fit in 22 bytes like in SBUS protocol
|
||||
*/
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user