Fix some compile warnings (#12220)

This commit is contained in:
Scott Lahteine authored and GitHub committed 2018-10-26 03:53:06 -05:00
1 parent dacb5324e8
commit d015f746cc
5 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -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