From 00c26f831d04f06b981dbfb5e4fe6d2d6bb808b4 Mon Sep 17 00:00:00 2001 From: ZeroZipp Date: Mon, 12 Jan 2026 10:58:26 +0100 Subject: [PATCH] update --- include/motor.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/motor.hpp b/include/motor.hpp index 0ada863..187a2c7 100644 --- a/include/motor.hpp +++ b/include/motor.hpp @@ -30,7 +30,7 @@ class Motor { else if(gpio == GPIOB) RCC->AHBENR |= RCC_AHBENR_GPIOBEN; else if(gpio == GPIOC) RCC->AHBENR |= RCC_AHBENR_GPIOCEN; else if(gpio == GPIOD) RCC->AHBENR |= RCC_AHBENR_GPIODEN; - else if(gpio == GPIOF) RCC->AHBENR |= RCC_AHBENR_GPIOFEN; + else if(gpio == GPIOE) RCC->AHBENR |= RCC_AHBENR_GPIOEEN; /* Set initial values */ lastStepTime = millis();