mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-10 13:18:12 +00:00
Typo fix
This commit is contained in:
parent
c6657c199c
commit
3f0d6cfcf1
@ -19,7 +19,7 @@
|
|||||||
#define VERSION_MAJOR 1
|
#define VERSION_MAJOR 1
|
||||||
#define VERSION_MINOR 2
|
#define VERSION_MINOR 2
|
||||||
#define VERSION_REVISION 1
|
#define VERSION_REVISION 1
|
||||||
#define VERSION_PATCH_LEVEL 8
|
#define VERSION_PATCH_LEVEL 9
|
||||||
|
|
||||||
//******************
|
//******************
|
||||||
// Protocols
|
// Protocols
|
||||||
|
@ -110,7 +110,7 @@ uint16_t seed;
|
|||||||
uint16_t failsafe_count;
|
uint16_t failsafe_count;
|
||||||
uint16_t state;
|
uint16_t state;
|
||||||
uint8_t len;
|
uint8_t len;
|
||||||
uint8_t armed, arm_flags, arm_channel_previous;
|
uint8_t armed, arm_flags, arm_channel_previous;
|
||||||
|
|
||||||
#if defined(FRSKYX_CC2500_INO) || defined(SFHSS_CC2500_INO)
|
#if defined(FRSKYX_CC2500_INO) || defined(SFHSS_CC2500_INO)
|
||||||
uint8_t calData[48];
|
uint8_t calData[48];
|
||||||
|
@ -539,8 +539,8 @@ static uint16_t hs6200_calc_crc(uint8_t* msg, uint8_t len)
|
|||||||
|
|
||||||
void HS6200_Configure(uint8_t flags)
|
void HS6200_Configure(uint8_t flags)
|
||||||
{
|
{
|
||||||
hs6200_crc = !!(flags & BV(NRF24L01_00_EN_CRC));
|
hs6200_crc = !!(flags & _BV(NRF24L01_00_EN_CRC));
|
||||||
flags &= ~(BV(NRF24L01_00_EN_CRC) | BV(NRF24L01_00_CRCO));
|
flags &= ~(_BV(NRF24L01_00_EN_CRC) | _BV(NRF24L01_00_CRCO));
|
||||||
NRF24L01_WriteReg(NRF24L01_00_CONFIG, flags & 0xff);
|
NRF24L01_WriteReg(NRF24L01_00_CONFIG, flags & 0xff);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user