Fix errors and some compiler warnings with HAL_STM32 PlatformIO build (#12869)
This commit is contained in:
committed by
Scott Lahteine
parent
e6484d9dab
commit
8ae6f1e556
@@ -56,7 +56,9 @@
|
||||
#define NANOSECONDS_PER_CYCLE (1000000000.0 / F_CPU)
|
||||
|
||||
// Remove compiler warning on an unused variable
|
||||
#define UNUSED(x) ((void)(x))
|
||||
#if !defined(ARDUINO_ARCH_STM32) || defined(STM32GENERIC)
|
||||
#define UNUSED(x) ((void)(x))
|
||||
#endif
|
||||
|
||||
// Macros to make a string from a macro
|
||||
#define STRINGIFY_(M) #M
|
||||
|
Reference in New Issue
Block a user