From b6addb187fe11d24299b9272569fa1df9c18fc04 Mon Sep 17 00:00:00 2001 From: Nikita Bulatov Date: Sat, 21 Mar 2026 17:24:07 +0300 Subject: [PATCH] =?UTF-8?q?=D1=82=D0=B5=D1=81=D1=82=D0=BE=D0=B2=D1=8B?= =?UTF-8?q?=D0=B9=20=D0=BF=D1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Core/Src/main.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Core/Src/main.cpp b/Core/Src/main.cpp index 8308eaa..318543f 100644 --- a/Core/Src/main.cpp +++ b/Core/Src/main.cpp @@ -27,14 +27,14 @@ constinit hydrv::GPIO::GPIOLow direction_pin(hydrv::GPIO::GPIOLow::GPIOA_port, 8, hydrv::GPIO::GPIOLow::GPIO_Output); -static constexpr hydrv::UART::UARTLow::UARTPreset USART1_115200_LOW{ - USART1_BASE, - 7, - RCC_APB2ENR_USART1EN, - RCC_BASE + offsetof(RCC_TypeDef, APB2ENR), - USART1_IRQn, - 39, - 1}; +// static constexpr hydrv::UART::UARTLow::UARTPreset USART1_115200_LOW{ +// USART1_BASE, +// 7, +// RCC_APB2ENR_USART1EN, +// RCC_BASE + offsetof(RCC_TypeDef, APB2ENR), +// USART1_IRQn, +// 39, +// 1}; constinit hydrv::RS485::RS485<255, 255> RS(USART1_115200_LOW, rx_pin, tx_pin, direction_pin, 7);