From c6a25f7286e693117f3fb8718ea0263a47aaf1f7 Mon Sep 17 00:00:00 2001 From: rusEfi Date: Sun, 9 Dec 2018 16:50:22 -0500 Subject: [PATCH] docs --- firmware/hw_layer/joystick.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/firmware/hw_layer/joystick.cpp b/firmware/hw_layer/joystick.cpp index 85a5d737fb..0cc20ae4a5 100644 --- a/firmware/hw_layer/joystick.cpp +++ b/firmware/hw_layer/joystick.cpp @@ -5,7 +5,8 @@ * See void onJoystick(joystick_button_e button) * * TODO: separate EXTI layer from joystick logic - * TODO: spell out the limitations of EXTI, can we use multiple pins with same index? + * You cannot use two pins with same index for EXTI (for instance PA5 and PE5) since these would + * be using same EXTI line. See https://stm32f4-discovery.net/2014/08/stm32f4-external-interrupts-tutorial/ * See also comments in digital_input_hw.cpp * * @date Jan 2, 2015