mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 13:38:38 -04:00
Copter: resolve compiler warning re unused variable
This commit is contained in:
parent
0f8f5bc048
commit
c30cfa21c5
@ -86,8 +86,6 @@ static void read_aux_switches()
|
||||
// init_aux_switches - invoke configured actions at start-up for aux function where it is safe to do so
|
||||
static void init_aux_switches()
|
||||
{
|
||||
uint8_t switch_position;
|
||||
|
||||
// set the CH7 flag
|
||||
ap_system.CH7_flag = read_3pos_switch(g.rc_7.radio_in);
|
||||
ap_system.CH8_flag = read_3pos_switch(g.rc_8.radio_in);
|
||||
|
Loading…
Reference in New Issue
Block a user