FreeCalypso > hg > freecalypso-sw
changeset 592:d8594785527c
gsm-fw/bsp/abb+spi/spi_task.c: unmask ABB interrupt when L1 is present
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 17 Aug 2014 03:41:36 +0000 |
parents | 6fd70825db76 |
children | 5da15ffc340c |
files | gsm-fw/bsp/abb+spi/spi_task.c |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/gsm-fw/bsp/abb+spi/spi_task.c Sun Aug 17 03:38:58 2014 +0000 +++ b/gsm-fw/bsp/abb+spi/spi_task.c Sun Aug 17 03:41:36 2014 +0000 @@ -19,6 +19,8 @@ /* (C) Copyright 2000 by Texas Instruments Incorporated, All Rights Reserved */ /*****************************************************************************/ +#include "../../include/config.h" + #include "../iq.h" #if 0 // FreeCalypso @@ -56,7 +58,7 @@ RV_TRACE_LEVEL_DEBUG_LOW, SPI_USE_ID); SPI_GBL_INFO_PTR->SpiTaskReady = TRUE; -#if 0 // FreeCalypso: deferring until L1 integration +#if CONFIG_INCLUDE_L1 /* Unmask External Interrupt once the SPI task is started */ #if (CHIPSET == 12) // Unmask ABB ext interrupt @@ -65,6 +67,8 @@ // Unmask external (ABB) interrupt IQ_Unmask(IQ_EXT); #endif +#endif +#if 0 // FreeCalypso: deferring until UI integration // Get the switch on cause from ABB. Set_Switch_ON_Cause(); #endif