diff src/cs/drivers/drv_core/armio/armio.c @ 637:31d2824683cb

armio.c & targets/gtamodem.h: GPIO3 and MCSI dummy outputs generalized
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 30 Jan 2020 01:30:08 +0000
parents d968a3216ba0
children 91d9f8506420
line wrap: on
line diff
--- a/src/cs/drivers/drv_core/armio/armio.c	Sun Jan 19 20:14:58 2020 +0000
+++ b/src/cs/drivers/drv_core/armio/armio.c	Thu Jan 30 01:30:08 2020 +0000
@@ -286,7 +286,7 @@
     #ifndef CONFIG_TARGET_LEONARDO	/* GPIO 2 is an input on Leonardo! */
       AI_ConfigBitAsOutput(2);
     #endif
-    #ifdef CONFIG_TARGET_GTAMODEM
+    #ifdef CONFIG_GPIO3_OUTPUT
       AI_ConfigBitAsOutput(3);
     #endif
     #if defined(CONFIG_TARGET_GTAMODEM) || defined(CONFIG_TARGET_FCFAM)
@@ -301,7 +301,7 @@
       AI_ConfigBitAsOutput(8);
     #endif
     AI_ConfigBitAsOutput(9);
-    #ifdef CONFIG_TARGET_GTAMODEM
+    #ifdef CONFIG_MCSI_UNUSED
       AI_ConfigBitAsOutput(10);
       AI_ConfigBitAsOutput(11);
       AI_ConfigBitAsOutput(12);