view src/cs/layer1/p_include/l1p_macr.h @ 73:0f466af1eaf0

l1_trace.c: no memory copy checksum in the gcc-built version
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 20 Jul 2018 03:49:01 +0000
parents b6a5e36de839
children
line wrap: on
line source

/************* 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) )