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
@@ -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
|
||||
|
||||
Reference in new issue
Block a user