FreeCalypso > hg > fc-tourmaline
view src/cs/layer1/p_include/l1p_macr.h @ 198:bb5aba57ecfb
Condat backlight driver: actually allow switching levels
We earlier made a change to this driver allowing different backlight
levels to be set. However, the old backlight idle logic prevented
switching from one backlight level to another without going through
a fully-off state. Now that we have the beginnings of new backlight
timer logic in BMI+MFW, the old idle logic in the Condat driver layer
can be axed, and we fix that driver layer to allow free switching
between different backlight levels.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 29 Mar 2021 01:52:48 +0000 |
parents | 4e78acac3d88 |
children |
line wrap: on
line source
/************* Revision Controle System Header ************* * GSM Layer 1 software * * * Filename l1p_macr.h * Copyright 2003 (C) Texas Instruments * ************* Revision Controle System Header *************/ #if (OP_L1_STANDALONE == 0) // First undefine the macros to avoid compilation warnings #undef Min #undef Max #endif // Max(x,y) definition #define Max(x,y) ( (x) > (y) ? (x) : (y) ) // Min(x,y) definition #define Min(x,y) ( (x) < (y) ? (x) : (y) )