🏗️ Define HAL_STM32 for HAL/STM32 (#22537)
This commit is contained in:
1 parent
e3c294dc9b
commit
a668a9d302
34 files changed
+105
-57
No files matched your search
@@ -288,7 +288,7 @@
|
||||
|
||||
// Remove compiler warning on an unused variable
|
||||
#ifndef UNUSED
|
||||
#if defined(ARDUINO_ARCH_STM32) && !defined(STM32GENERIC) && !defined(MAPLE_STM32F1)
|
||||
#ifdef HAL_STM32
|
||||
#define UNUSED(X) (void)X
|
||||
#else
|
||||
#define UNUSED(x) ((void)(x))
|
||||
|
||||
Reference in new issue
Block a user