comparison src/cs/layer1/p_include/l1p_macr.h @ 0:945cf7f506b2

src/cs: chipsetsw import from tcs211-fcmodem binary blobs and LCD demo files have been excluded, all line endings are LF only
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 25 Sep 2016 22:50:11 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:945cf7f506b2
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) )