mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-07-01 18:27:53 +00:00
remove unnecessary brackets
This commit is contained in:
parent
b7cd484323
commit
c9bfb1bc70
@ -145,6 +145,7 @@ static void __attribute__((unused)) DSM_update_channels()
|
||||
static void __attribute__((unused)) DSM_build_data_packet(uint8_t upper)
|
||||
{
|
||||
uint8_t bits = 11;
|
||||
|
||||
// Check if clone flag has changed
|
||||
if((prev_option&CLONE_BIT_MASK) != (option&CLONE_BIT_MASK))
|
||||
{
|
||||
@ -517,7 +518,7 @@ const uint8_t PROGMEM DSMR_ID_FREQ[][4 + 23] = {
|
||||
|
||||
void DSM_init()
|
||||
{
|
||||
if((sub_protocol == DSMR))
|
||||
if(sub_protocol == DSMR)
|
||||
{
|
||||
if(option&CLONE_BIT_MASK)
|
||||
SUB_PROTO_INVALID;
|
||||
|
Loading…
x
Reference in New Issue
Block a user