From a6780d2224b9d939b3147706419579da5d0b98e9 Mon Sep 17 00:00:00 2001 From: Yuri D'Elia Date: Mon, 16 Aug 2021 11:44:49 +0200 Subject: [PATCH] Correct motor pins --- src/pins.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/pins.h b/src/pins.h index d1e86bb..bc72c3e 100644 --- a/src/pins.h +++ b/src/pins.h @@ -14,14 +14,14 @@ static constexpr hal::gpio::GPIO_pin SHR16_CLOCK = { GPIOC, 7 }; ///SHCP static constexpr hal::gpio::GPIO_pin USART_RX = { GPIOD, 2 }; static constexpr hal::gpio::GPIO_pin USART_TX = { GPIOD, 3 }; -static constexpr hal::gpio::GPIO_pin IDLER_CS_PIN = { GPIOC, 6 }; -static constexpr hal::gpio::GPIO_pin IDLER_SG_PIN = { GPIOF, 4 }; -static constexpr hal::gpio::GPIO_pin IDLER_STEP_PIN = { GPIOB, 4 }; +static constexpr hal::gpio::GPIO_pin PULLEY_CS_PIN = { GPIOC, 6 }; +static constexpr hal::gpio::GPIO_pin PULLEY_SG_PIN = { GPIOF, 4 }; +static constexpr hal::gpio::GPIO_pin PULLEY_STEP_PIN = { GPIOB, 4 }; -static constexpr hal::gpio::GPIO_pin PULLEY_CS_PIN = { GPIOD, 7 }; -static constexpr hal::gpio::GPIO_pin PULLEY_SG_PIN = { GPIOF, 1 }; -static constexpr hal::gpio::GPIO_pin PULLEY_STEP_PIN = { GPIOD, 4 }; +static constexpr hal::gpio::GPIO_pin SELECTOR_CS_PIN = { GPIOD, 7 }; +static constexpr hal::gpio::GPIO_pin SELECTOR_SG_PIN = { GPIOF, 1 }; +static constexpr hal::gpio::GPIO_pin SELECTOR_STEP_PIN = { GPIOD, 4 }; -static constexpr hal::gpio::GPIO_pin SELECTOR_CS_PIN = { GPIOB, 7 }; -static constexpr hal::gpio::GPIO_pin SELECTOR_SG_PIN = { GPIOF, 0 }; -static constexpr hal::gpio::GPIO_pin SELECTOR_STEP_PIN = { GPIOD, 6 }; +static constexpr hal::gpio::GPIO_pin IDLER_CS_PIN = { GPIOB, 7 }; +static constexpr hal::gpio::GPIO_pin IDLER_SG_PIN = { GPIOF, 0 }; +static constexpr hal::gpio::GPIO_pin IDLER_STEP_PIN = { GPIOD, 6 };