Sfoglia il codice sorgente

Fix pin defines for pins 0 & 1, fixes PWM issue

main
PaulStoffregen 5 anni fa
parent
commit
0a7c35fb3c
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +2
    -2
      teensy4/core_pins.h

+ 2
- 2
teensy4/core_pins.h Vedi File

@@ -299,8 +299,8 @@
#define CORE_PIN33_PINREG GPIO4_PSR

// mux config registers control which peripheral uses the pin
#define CORE_PIN0_CONFIG IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B0_02
#define CORE_PIN1_CONFIG IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B0_03
#define CORE_PIN0_CONFIG IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B0_03
#define CORE_PIN1_CONFIG IOMUXC_SW_MUX_CTL_PAD_GPIO_AD_B0_02
#define CORE_PIN2_CONFIG IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_04
#define CORE_PIN3_CONFIG IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_05
#define CORE_PIN4_CONFIG IOMUXC_SW_MUX_CTL_PAD_GPIO_EMC_06

Loading…
Annulla
Salva