diff options
author | Keith Packard <keithp@keithp.com> | 2018-07-04 12:34:38 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2018-07-04 12:34:38 -0700 |
commit | ad9d6677231ccbfa09a528387f306f5364f9d608 (patch) | |
tree | ab354b0803bedc096f9a1355c936d72fc91a8d6b /src/drivers/ao_lco.c | |
parent | 38fb80e5e6af87f8c734448e4aa69b2c39854903 (diff) |
altos: Make fewer LCO variables public
The lco common code doesn't need to share its internal values with the
world; make most of them static.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/drivers/ao_lco.c')
-rw-r--r-- | src/drivers/ao_lco.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/drivers/ao_lco.c b/src/drivers/ao_lco.c index 47752f1f..e892c8c0 100644 --- a/src/drivers/ao_lco.c +++ b/src/drivers/ao_lco.c @@ -34,8 +34,7 @@ #define AO_LCO_DRAG_RACE_START_TIME AO_SEC_TO_TICKS(5) #define AO_LCO_DRAG_RACE_STOP_TIME AO_SEC_TO_TICKS(2) -#define AO_LCO_VALID_LAST 1 -#define AO_LCO_VALID_EVER 2 +#define AO_LCO_BOX_DRAG 0x1000 /* UI values */ static uint16_t ao_lco_fire_tick; |