Various general cleanups

Mostly from the L6470-oriented PR
This commit is contained in:
Scott Lahteine
2019-01-19 16:56:12 -06:00
parent 02cc63d6d4
commit ce563d7c2e
10 changed files with 21 additions and 21 deletions

View File

@ -56,9 +56,7 @@
#define NANOSECONDS_PER_CYCLE (1000000000.0 / F_CPU)
// Remove compiler warning on an unused variable
#if !defined(ARDUINO_ARCH_STM32) || defined(STM32GENERIC)
#define UNUSED(x) ((void)(x))
#endif
#define UNUSED(x) ((void)(x))
// Macros to make a string from a macro
#define STRINGIFY_(M) #M