mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-09 22:48:12 +00:00
Fix compilation issues
This commit is contained in:
parent
5c00ce6b88
commit
940f241b9d
@ -471,7 +471,7 @@ const mm_protocol_definition multi_protocols[] = {
|
|||||||
{0xFF, nullptr, nullptr, 0, 0, 0, 0, 0, nullptr, nullptr }
|
{0xFF, nullptr, nullptr, 0, 0, 0, 0, 0, nullptr, nullptr }
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef TELEMETRY
|
#ifdef MULTI_TELEMETRY
|
||||||
uint16_t PROTOLIST_callback()
|
uint16_t PROTOLIST_callback()
|
||||||
{
|
{
|
||||||
if(option != prev_option)
|
if(option != prev_option)
|
||||||
|
@ -1241,7 +1241,7 @@ static void protocol_init()
|
|||||||
SEND_MULTI_STATUS_on;
|
SEND_MULTI_STATUS_on;
|
||||||
Update_Telem();
|
Update_Telem();
|
||||||
}
|
}
|
||||||
#ifdef TELEMETRY
|
#ifdef MULTI_TELEMETRY
|
||||||
else
|
else
|
||||||
{//protocol=PROTO_PROTOLIST=0
|
{//protocol=PROTO_PROTOLIST=0
|
||||||
remote_callback = PROTOLIST_callback;
|
remote_callback = PROTOLIST_callback;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user