FreeCalypso > hg > fc-magnetite
view src/cs/layer1/p_include/l1p_macr.h @ 448:e56e74e8b730
R2D C139 C-Sample emulation: fixed off-by-one error
that was causing the garbage in the upper left corner of the display
and also caused everything to be shifted by one pixel
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 29 Jan 2018 06:24:55 +0000 |
parents | 945cf7f506b2 |
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) )