FreeCalypso > hg > fc-magnetite
changeset 78:dce31be2b474
use #ifdef instead of #if for FreeCalypso-added preprocessor symbols
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 02 Oct 2016 04:43:59 +0000 |
parents | 3b2d13172b6c |
children | 3928363c521f |
files | src/aci2/aci/ati_bas.c src/cs/layer1/tpu_drivers/source0/tpudrv12.c |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/aci2/aci/ati_bas.c Sun Oct 02 03:48:22 2016 +0000 +++ b/src/aci2/aci/ati_bas.c Sun Oct 02 04:43:59 2016 +0000 @@ -2206,7 +2206,7 @@ i++; g_sa[i] = '\0'; -#if CONFIG_MOKOFFS +#ifdef CONFIG_MOKOFFS /* * Openmoko's FFS has a /pcm/CGMR file programmed like this: *
--- a/src/cs/layer1/tpu_drivers/source0/tpudrv12.c Sun Oct 02 03:48:22 2016 +0000 +++ b/src/cs/layer1/tpu_drivers/source0/tpudrv12.c Sun Oct 02 04:43:59 2016 +0000 @@ -175,7 +175,7 @@ T_TX_RX tx_rx[2]; }; -#if CONFIG_TARGET_COMPAL || CONFIG_TARGET_PIRELLI +#if defined(CONFIG_TARGET_COMPAL) || defined(CONFIG_TARGET_PIRELLI) typedef UWORD16 T_RXTX_UPDOWN; #else typedef UWORD8 T_RXTX_UPDOWN; @@ -586,7 +586,7 @@ *TP_Ptr++ = TPU_FAT(0x1384); TSP_TO_ABB(0xA0); *TP_Ptr++ = TPU_FAT(16); -#if CONFIG_TARGET_COMPAL || CONFIG_TARGET_PIRELLI +#if defined(CONFIG_TARGET_COMPAL) || defined(CONFIG_TARGET_PIRELLI) *TP_Ptr++ = TPU_MOVE(TSP_ACT, rf_path[rf_index].tx_up & 0xFF | RF_SER_ON); *TP_Ptr++ = TPU_MOVE(TSP_ACTX, rf_path[rf_index].tx_up >> 8);