projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
telelco-v3.0: Add info page
[fw/altos]
/
src
/
drivers
/
ao_lco.h
diff --git
a/src/drivers/ao_lco.h
b/src/drivers/ao_lco.h
index 42f4e6d845a2ad0a798f683e796f4211aa5a4045..f931872b5b0ac14fcb61a35d2b7b2dc3fbc181fa 100644
(file)
--- 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_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
# 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;
#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;
#endif
default:
return false;