diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/cs/layer1/p_include/l1p_macr.h	Sun Sep 25 22:50:11 2016 +0000
@@ -0,0 +1,20 @@
+/************* 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) )