_internal::LEDModeManager: Do not redefine `new` on STM32

We do not need to redefine `new` on STM32, as it is included in the standard
library, and defining it ourselves would lead to linking errors.

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
pull/1060/head
Gergely Nagy 3 years ago
parent 0b4c119845
commit a04525d718
No known key found for this signature in database
GPG Key ID: AC1E90BAC433F68F

@ -23,7 +23,7 @@
#include <stddef.h>
#ifdef KALEIDOSCOPE_VIRTUAL_BUILD
#if defined(KALEIDOSCOPE_VIRTUAL_BUILD) || defined(ARDUINO_ARCH_STM32)
#include <new>
#else

Loading…
Cancel
Save