mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
Rover: fix compile warnings for unused functions
This commit is contained in:
parent
b57437042e
commit
e867b148f5
@ -511,7 +511,7 @@ static const AP_Scheduler::Task scheduler_tasks[] PROGMEM = {
|
||||
{ update_notify, 1, 300 },
|
||||
{ one_second_loop, 50, 3000 },
|
||||
#if FRSKY_TELEM_ENABLED == ENABLED
|
||||
{ telemetry_send, 10, 100 }
|
||||
{ frsky_telemetry_send, 10, 100 }
|
||||
#endif
|
||||
};
|
||||
|
||||
|
@ -500,9 +500,9 @@ static bool should_log(uint32_t mask)
|
||||
/*
|
||||
send FrSky telemetry. Should be called at 5Hz by scheduler
|
||||
*/
|
||||
static void telemetry_send(void)
|
||||
{
|
||||
#if FRSKY_TELEM_ENABLED == ENABLED
|
||||
static void frsky_telemetry_send(void)
|
||||
{
|
||||
frsky_telemetry.send_frames((uint8_t)control_mode);
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user