Fix compilation issues

This commit is contained in:
Pascal Langer 2021-09-07 14:29:35 +02:00
parent 5c00ce6b88
commit 940f241b9d
2 changed files with 2 additions and 2 deletions

View File

@ -471,7 +471,7 @@ const mm_protocol_definition multi_protocols[] = {
{0xFF, nullptr, nullptr, 0, 0, 0, 0, 0, nullptr, nullptr }
};
#ifdef TELEMETRY
#ifdef MULTI_TELEMETRY
uint16_t PROTOLIST_callback()
{
if(option != prev_option)

View File

@ -1241,7 +1241,7 @@ static void protocol_init()
SEND_MULTI_STATUS_on;
Update_Telem();
}
#ifdef TELEMETRY
#ifdef MULTI_TELEMETRY
else
{//protocol=PROTO_PROTOLIST=0
remote_callback = PROTOLIST_callback;