diff --git a/Marlin/src/HAL/HAL_STM32/SoftwareSerial.cpp b/Marlin/src/HAL/HAL_STM32/SoftwareSerial.cpp
index 7ca1d47540aebf300048541a6f39a94b3352a08f..39fed33826362a985922b0d7849a6336ca9b63d1 100644
--- a/Marlin/src/HAL/HAL_STM32/SoftwareSerial.cpp
+++ b/Marlin/src/HAL/HAL_STM32/SoftwareSerial.cpp
@@ -35,7 +35,7 @@
 // Includes
 //
 #include "SoftwareSerial.h"
-#include <timer.h>
+#include "timers.h"
 
 #define OVERSAMPLE 3 // in RX, Timer will generate interruption OVERSAMPLE time during a bit. Thus OVERSAMPLE ticks in a bit. (interrupt not synchonized with edge).