Browse Source

Fix for unicode-ignorant gcc preprocessor

Scott Lahteine 6 years ago
parent
commit
224688cc3b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/HAL/HAL_AVR/HAL_AVR.h

+ 1
- 1
Marlin/src/HAL/HAL_AVR/HAL_AVR.h View File

@@ -150,7 +150,7 @@ extern "C" {
150 150
 
151 151
 #define _CAT(a, ...) a ## __VA_ARGS__
152 152
 #define HAL_timer_set_compare(timer, compare) (_CAT(TIMER_OCR_, timer) = compare)
153
-#define HAL_timer_restrain(timer, interval_µs) NOLESS(_CAT(TIMER_OCR_, timer), _CAT(TIMER_COUNTER_, timer) + interval_µs * HAL_TICKS_PER_US)
153
+#define HAL_timer_restrain(timer, interval_us) NOLESS(_CAT(TIMER_OCR_, timer), _CAT(TIMER_COUNTER_, timer) + interval_us * HAL_TICKS_PER_US)
154 154
 
155 155
 #define HAL_timer_get_compare(timer) _CAT(TIMER_OCR_, timer)
156 156
 #define HAL_timer_get_count(timer) _CAT(TIMER_COUNTER_, timer)

Loading…
Cancel
Save