FreeCalypso > hg > fc-magnetite
diff src/cs/drivers/drv_core/armio/armio.c @ 677:91d9f8506420
GPIO046 dummy outputs on FCDEV3B, GTA0x and Tango
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 20 Jun 2020 04:32:45 +0000 |
parents | 31d2824683cb |
children | ee3ac8c617cb |
line wrap: on
line diff
--- a/src/cs/drivers/drv_core/armio/armio.c Sat Jun 20 04:05:05 2020 +0000 +++ b/src/cs/drivers/drv_core/armio/armio.c Sat Jun 20 04:32:45 2020 +0000 @@ -276,10 +276,8 @@ // ARMIO_CNTL_REG register configuration : // set IOs 1,2,5,7,9,14 and 15 as ouputs. - // bits conditionalized on CONFIG_TARGET_GTAMODEM or CONFIG_TARGET_FCFAM - // are FreeCalypso additions - #if defined(CONFIG_TARGET_GTAMODEM) || defined(CONFIG_TARGET_FCFAM) || \ - defined(CONFIG_TARGET_GTM900) + // all others are FreeCalypso additions + #if defined(CONFIG_GPIO046_OUTPUTS) || defined(CONFIG_TARGET_GTM900) AI_ConfigBitAsOutput(0); #endif AI_ConfigBitAsOutput(1); @@ -289,11 +287,11 @@ #ifdef CONFIG_GPIO3_OUTPUT AI_ConfigBitAsOutput(3); #endif - #if defined(CONFIG_TARGET_GTAMODEM) || defined(CONFIG_TARGET_FCFAM) + #ifdef CONFIG_GPIO046_OUTPUTS AI_ConfigBitAsOutput(4); #endif AI_ConfigBitAsOutput(5); - #if defined(CONFIG_TARGET_GTAMODEM) || defined(CONFIG_TARGET_FCFAM) + #ifdef CONFIG_GPIO046_OUTPUTS AI_ConfigBitAsOutput(6); #endif AI_ConfigBitAsOutput(7);