mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-11-02 19:36:04 +01:00
stm32: Minor changes to stm32g0b0 ifdefs
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -88,7 +88,7 @@
|
||||
|
||||
#if CONFIG_MACH_STM32G0
|
||||
// Some of the stm32g0 MCUs have slightly different register names
|
||||
#ifdef LPUART2
|
||||
#if CONFIG_MACH_STM32G0B1
|
||||
#define USART2_IRQn USART2_LPUART2_IRQn
|
||||
#endif
|
||||
#define USART_CR1_RXNEIE USART_CR1_RXNEIE_RXFNEIE
|
||||
|
||||
Reference in New Issue
Block a user