Skip to content

Commit ea9f1a5

Browse files
authored
Merge pull request arduino#243 from nekuneko/patch-1
Enable Interrupt arduino#8 on Pin PORTA28 (GPIO2)
2 parents d9e9508 + b1572ce commit ea9f1a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

variants/pirkey/variant.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const PinDescription g_APinDescription[]=
2929
{ PORTA, 1, PIO_DIGITAL, 0, ADC_Channel5, NOT_ON_PWM, NOT_ON_TIMER, EXTERNAL_INT_1 }, // ADC/AIN[5]
3030

3131
// GPIO 2 - Infrared In
32-
{ PORTA, 28, PIO_COM, PIN_ATTR_NONE, No_ADC_Channel, NOT_ON_PWM, NOT_ON_TIMER, EXTERNAL_INT_NONE }, // USB Host enable - GPIO #2
32+
{ PORTA, 28, PIO_COM, PIN_ATTR_NONE, No_ADC_Channel, NOT_ON_PWM, NOT_ON_TIMER, EXTERNAL_INT_8 }, // USB Host enable - GPIO #2
3333

3434
// GPIO 3 & 4 (SWCLK & SWDIO)
3535
// --------------------------

0 commit comments

Comments
 (0)