Copter: comment fix for flight mode switch delay const

This commit is contained in:
Randy Mackay 2013-07-12 22:29:14 +09:00
parent 07ca8ef87a
commit d5b4c44926

View File

@ -1,6 +1,6 @@
/// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*- /// -*- tab-width: 4; Mode: C++; c-basic-offset: 4; indent-tabs-mode: nil -*-
#define CONTROL_SWITCH_COUNTER 20 // 10 iterations at 100hz (i.e. 1/10th of a second) at a new switch position will cause flight mode change #define CONTROL_SWITCH_COUNTER 20 // 20 iterations at 100hz (i.e. 2/10th of a second) at a new switch position will cause flight mode change
static void read_control_switch() static void read_control_switch()
{ {
static uint8_t switch_counter = 0; static uint8_t switch_counter = 0;