Skip to content

Commit e87f26d

Browse files
committed
- fix a duplicate inline bug (not allowed anymore under the new standard)
1 parent 08704ea commit e87f26d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Marlin/src/HAL/STM32F1/MarlinSerial.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828

2929
// Copied from ~/.platformio/packages/framework-arduinoststm32-maple/STM32F1/system/libmaple/usart_private.h
3030
// Changed to handle Emergency Parser
31-
static inline __always_inline void my_usart_irq(ring_buffer *rb, ring_buffer *wb, usart_reg_map *regs, MSerialT &serial) {
31+
static __always_inline void my_usart_irq(ring_buffer *rb, ring_buffer *wb, usart_reg_map *regs, MSerialT &serial) {
3232
/* Handle RXNEIE and TXEIE interrupts.
3333
* RXNE signifies availability of a byte in DR.
3434
*

0 commit comments

Comments
 (0)