FreeCalypso > hg > ffs-editor
comparison src/cs/layer1/p_include/l1p_macr.h @ 0:92470e5d0b9e
src: partial import from FC Selenite
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 15 May 2020 01:28:16 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:92470e5d0b9e |
---|---|
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) ) |