mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
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
Block a user