mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-12-13 19:13:14 +00:00
Fix compilation issues
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user