From 46e2271984796ba3196500315be1c069dc21d4d1 Mon Sep 17 00:00:00 2001 From: Ha Thach Date: Mon, 16 Aug 2021 22:56:21 +0700 Subject: [PATCH] fix m4 can pin typo (#307) also bump up tinyusb lib --- libraries/Adafruit_TinyUSB_Arduino | 2 +- variants/feather_m4_can/variant.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/Adafruit_TinyUSB_Arduino b/libraries/Adafruit_TinyUSB_Arduino index 40eb4e6a4..633fa06aa 160000 --- a/libraries/Adafruit_TinyUSB_Arduino +++ b/libraries/Adafruit_TinyUSB_Arduino @@ -1 +1 @@ -Subproject commit 40eb4e6a4f0ac880f4aaf1209a73d46294b7a792 +Subproject commit 633fa06aaf6b3713baaede491c586a578567062c diff --git a/variants/feather_m4_can/variant.cpp b/variants/feather_m4_can/variant.cpp index b52e662c4..7061a4f6f 100644 --- a/variants/feather_m4_can/variant.cpp +++ b/variants/feather_m4_can/variant.cpp @@ -67,7 +67,7 @@ const PinDescription g_APinDescription[PINS_COUNT]= { PORTA, 6, PIO_ANALOG, (PIN_ATTR_ANALOG|PIN_ATTR_PWM_E), ADC_Channel6, TC1_CH0, TC1_CH0, EXTERNAL_INT_6 }, // A6, D20 - VDiv! - { PORTB, 1, PIO_ANALOG, PIN_ATTR_ANALOG, ADC_Channel13, NOT_ON_PWM, NOT_ON_TIMER, EXTERNAL_INT_1 }, + { PORTB, 0, PIO_ANALOG, PIN_ATTR_ANALOG, ADC_Channel13, NOT_ON_PWM, NOT_ON_TIMER, EXTERNAL_INT_1 }, // 21..22 I2C pins (SDA/SCL)