FreeCalypso > hg > fc-tourmaline
comparison src/cs/layer1/p_include/l1p_macr.h @ 0:4e78acac3d88
src/{condat,cs,gpf,nucleus}: import from Selenite
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Fri, 16 Oct 2020 06:23:26 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:4e78acac3d88 |
|---|---|
| 1 /************* Revision Controle System Header ************* | |
| 2 * GSM Layer 1 software | |
| 3 * | |
| 4 * | |
| 5 * Filename l1p_macr.h | |
| 6 * Copyright 2003 (C) Texas Instruments | |
| 7 * | |
| 8 ************* Revision Controle System Header *************/ | |
| 9 | |
| 10 #if (OP_L1_STANDALONE == 0) | |
| 11 // First undefine the macros to avoid compilation warnings | |
| 12 #undef Min | |
| 13 #undef Max | |
| 14 #endif | |
| 15 | |
| 16 // Max(x,y) definition | |
| 17 #define Max(x,y) ( (x) > (y) ? (x) : (y) ) | |
| 18 | |
| 19 // Min(x,y) definition | |
| 20 #define Min(x,y) ( (x) < (y) ? (x) : (y) ) |
