view chipsetsw/layer1/p_include/l1p_macr.h @ 144:a005102f0dd2

l1_sync.c: l1s_dedicated_mode_manager(): logic reconstructed, but the compiler's register allocation is different, resulting in different object code being generated. The logic has been verified by manual comparison.
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sun, 15 May 2016 18:56:25 +0000
parents 509db1a7b7b8
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) )