mirror of https://github.com/ArduPilot/ardupilot
Cosmetic
This commit is contained in:
parent
67bf991598
commit
6513b12eb2
|
@ -3,6 +3,7 @@
|
||||||
static void read_control_switch()
|
static void read_control_switch()
|
||||||
{
|
{
|
||||||
static bool switch_debouncer = false;
|
static bool switch_debouncer = false;
|
||||||
|
|
||||||
byte switchPosition = readSwitch();
|
byte switchPosition = readSwitch();
|
||||||
|
|
||||||
if (oldSwitchPosition != switchPosition){
|
if (oldSwitchPosition != switchPosition){
|
||||||
|
|
Loading…
Reference in New Issue