aboutsummaryrefslogtreecommitdiff
path: root/ports/teensy/pin_defs_teensy.h
diff options
context:
space:
mode:
authorDamien George2018-04-11 16:14:58 +1000
committerDamien George2018-04-11 16:14:58 +1000
commit0041396f05bc1f43657c343df6b291fc4bbdc901 (patch)
tree9b94c469899ca9737de050a4ed395bcf981b6617 /ports/teensy/pin_defs_teensy.h
parentf1073e747d0489154942a0d0e0585bc6943df448 (diff)
stm32/pin: In pin AF object, remove union of periph ptr types.
The individual union members (like SPI, I2C) are never used, only the generic "reg" entry is. And the union names can clash with macro definitions in the HAL so better to remove them.
Diffstat (limited to 'ports/teensy/pin_defs_teensy.h')
-rw-r--r--ports/teensy/pin_defs_teensy.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/ports/teensy/pin_defs_teensy.h b/ports/teensy/pin_defs_teensy.h
index 54a6055f1..d3a700be2 100644
--- a/ports/teensy/pin_defs_teensy.h
+++ b/ports/teensy/pin_defs_teensy.h
@@ -40,10 +40,4 @@ enum {
AF_PIN_TYPE_UART_RTS,
};
-#define PIN_DEFS_PORT_AF_UNION \
- FTM_TypeDef *FTM; \
- I2C_TypeDef *I2C; \
- UART_TypeDef *UART; \
- SPI_TypeDef *SPI;
-
typedef GPIO_TypeDef pin_gpio_t;