🏗️ Define HAL_STM32 for HAL/STM32 (#22537)
This commit is contained in:
@@ -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