Fix some compile warnings (#12220)

This commit is contained in:
Scott Lahteine
2018-10-26 03:53:06 -05:00
committed by GitHub
parent dacb5324e8
commit d015f746cc
5 changed files with 6 additions and 6 deletions

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