Fix some compile warnings (#12220)
This commit is contained in:
1 parent
dacb5324e8
commit
d015f746cc
5 files changed
+6
-6
No files matched your search
@@ -140,9 +140,9 @@
|
||||
#endif
|
||||
|
||||
// Delay in nanoseconds
|
||||
#define DELAY_NS(x) DELAY_CYCLES( (x) * (F_CPU/1000000L) / 1000L )
|
||||
#define DELAY_NS(x) DELAY_CYCLES( (x) * (F_CPU / 1000000UL) / 1000UL )
|
||||
|
||||
// Delay in microseconds
|
||||
#define DELAY_US(x) DELAY_CYCLES( (x) * (F_CPU/1000000L) )
|
||||
#define DELAY_US(x) DELAY_CYCLES( (x) * (F_CPU / 1000000UL) )
|
||||
|
||||
#endif // MARLIN_DELAY_H
|
||||
Reference in new issue
Block a user