diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/cs/layer1/p_include/l1p_macr.h	Fri Oct 16 06:23:26 2020 +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) )