X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fdrivers%2Fao_lco.h;fp=src%2Fdrivers%2Fao_lco.h;h=f931872b5b0ac14fcb61a35d2b7b2dc3fbc181fa;hb=936ef3907e956b1a42ad54fe5757bd816b20890f;hp=42f4e6d845a2ad0a798f683e796f4211aa5a4045;hpb=5cea1324ac4a34a21324c4bb50885ffacb6d29da;p=fw%2Faltos diff --git a/src/drivers/ao_lco.h b/src/drivers/ao_lco.h index 42f4e6d8..f931872b 100644 --- a/src/drivers/ao_lco.h +++ b/src/drivers/ao_lco.h @@ -50,7 +50,13 @@ extern struct ao_pad_query ao_pad_query; /* Last received QUERY from pad */ #define AO_LCO_BOX_DRAG 0 /* Box number to enable drag race mode (old LCO bits) */ #define AO_LCO_BOX_FIRST AO_LCO_BOX_DRAG #else -#define AO_LCO_LCO_VOLTAGE 0 /* Box number to show LCO voltage */ +# define AO_LCO_LCO_VOLTAGE 0 /* Box number to show LCO voltage */ +# ifdef AO_LCO_HAS_INFO +# define AO_LCO_INFO -3 +# ifndef AO_LCO_BOX_FIRST +# define AO_LCO_BOX_FIRST AO_LCO_INFO +# endif +# endif # ifdef AO_LCO_HAS_BACKLIGHT # define AO_LCO_BACKLIGHT -2 # ifndef AO_LCO_BOX_FIRST @@ -88,6 +94,10 @@ ao_lco_box_pseudo(int16_t box) #ifdef AO_LCO_BACKLIGHT case AO_LCO_BACKLIGHT: return true; +#endif +#ifdef AO_LCO_INFO + case AO_LCO_INFO: + return true; #endif default: return false;