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

@ -49,7 +49,7 @@
// Clock speed factors
#if !defined(CYCLES_PER_MICROSECOND) && !defined(__STM32F1__)
#define CYCLES_PER_MICROSECOND (F_CPU / 1000000L) // 16 or 20 on AVR
#define CYCLES_PER_MICROSECOND (F_CPU / 1000000UL) // 16 or 20 on AVR
#endif
// Nanoseconds per cycle