FreeCalypso > hg > fc-magnetite
changeset 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 | 57e67ca2e1cb |
children | cab2f315827e |
files | src/cs/drivers/drv_core/armio/armio.c targets/gtamodem.h |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
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);
--- a/targets/gtamodem.h Sun Jan 19 20:14:58 2020 +0000 +++ b/targets/gtamodem.h Thu Jan 30 01:30:08 2020 +0000 @@ -1,4 +1,6 @@ #define CONFIG_TARGET_GTAMODEM 1 #define CONFIG_MOKOFFS 1 +#define CONFIG_MCSI_UNUSED 1 +#define CONFIG_GPIO3_OUTPUT 1 #define GPIO1_SPEAKER_CTRL 0 #define UARTFAX_CLASSIC_DTR_DCD 0