mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-04 22:28:12 +00:00
AFHDS2A
This commit is contained in:
parent
357d3b8140
commit
3a3a2ec76d
@ -204,7 +204,11 @@ static void AFHDS2A_build_packet(uint8_t type)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#define AFHDS2A_WAIT_WRITE 0x80
|
#define AFHDS2A_WAIT_WRITE 0x80
|
||||||
#define AFHDS2A_DELAY 700
|
#ifdef STM32_BOARD
|
||||||
|
#define AFHDS2A_DELAY 0
|
||||||
|
#else
|
||||||
|
#define AFHDS2A_DELAY 700
|
||||||
|
#endif
|
||||||
uint16_t ReadAFHDS2A()
|
uint16_t ReadAFHDS2A()
|
||||||
{
|
{
|
||||||
static uint8_t packet_type = AFHDS2A_PACKET_STICKS;
|
static uint8_t packet_type = AFHDS2A_PACKET_STICKS;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user