aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/multi/SPI/cfg-stm32f091_nucleo64/portab.h
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32/multi/SPI/cfg-stm32f091_nucleo64/portab.h')
-rw-r--r--testhal/STM32/multi/SPI/cfg-stm32f091_nucleo64/portab.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/testhal/STM32/multi/SPI/cfg-stm32f091_nucleo64/portab.h b/testhal/STM32/multi/SPI/cfg-stm32f091_nucleo64/portab.h
index df5c9e77d..3283d07a9 100644
--- a/testhal/STM32/multi/SPI/cfg-stm32f091_nucleo64/portab.h
+++ b/testhal/STM32/multi/SPI/cfg-stm32f091_nucleo64/portab.h
@@ -29,13 +29,12 @@
/* Module constants. */
/*===========================================================================*/
-#define PORTAB_LINE_LED1 GPIOA_LED_GREEN
+#define PORTAB_LINE_LED1 LINE_LED_GREEN
//#define PORTAB_LINE_LED2
#define PORTAB_LED_OFF PAL_LOW
#define PORTAB_LED_ON PAL_HIGH
-#define PORTAB_LINE_BUTTON LINE_BUTTON
-#define PORTAB_BUTTON_PRESSED PAL_HIGH
+#define PORTAB_SPI1 SPID2
/*===========================================================================*/
/* Module pre-compile time settings. */
@@ -63,7 +62,7 @@ extern const SPIConfig ls_spicfg;
#ifdef __cplusplus
extern "C" {
#endif
-
+ void portab_setup(void);
#ifdef __cplusplus
}
#endif