FreeCalypso > hg > fc-magnetite
view src/cs/layer1/p_include/l1p_macr.h @ 631:597869e59805
config: introduced new CONFIG_MCSI_MODEM preprocessor symbol
All MCSI functionality was previously conditionalized on CONFIG_TARGET_FCMODEM
(even earlier it was CONFIG_TARGET_FCDEV3B), but having a dedicated
preprocessor symbol for this purpose (defined in targets/*.h as appropriate)
makes it much easier to support different modem targets with MCSI enabled.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 04 Jan 2020 19:07:02 +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) )