FreeCalypso > hg > fc-tourmaline
view src/cs/drivers/drv_app/r2d/lcds/c139/colors.h @ 281:a75eefbf8be4
Phone boot with PWON: weed out short button presses
Every standard end user phone has a design provision, most naturally
implemented in firmware, whereby the PWON button effects a boot only
if it is held down long enough - short presses of this PWON button
are detected, assumed to be spurious and cause the fw to power back off
instead of proceeding with boot. The present change introduces this
standard function in FreeCalypso.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 24 Sep 2021 02:03:08 +0000 |
parents | 502a0a3f6a49 |
children |
line wrap: on
line source
/* * TI's BMI code does not seem to have an existing configuration for small * color displays, only large color, large mono and small mono - hence in the * present configuration we are telling TI's code that we have a mono display. * But the real LCD on the C139 is 16-bit color. Here we define the physical * color values to which TI's black and white will be mapped. */ #define LCD16_COLOR_BLACK 0x0000 #define LCD16_COLOR_WHITE 0xFFFF