From 2392ddb76b3d7e267dfd3ea7bf33eed8a94444f9 Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Sun, 5 Apr 2020 22:15:40 +0100 Subject: Enable memcore to fix malloc/rand crashes (#8695) --- keyboards/handwired/ck4x4/chconf.h | 2 +- keyboards/handwired/onekey/stm32f0_disco/chconf.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'keyboards/handwired') diff --git a/keyboards/handwired/ck4x4/chconf.h b/keyboards/handwired/ck4x4/chconf.h index 4640ff5332..03f63da36a 100644 --- a/keyboards/handwired/ck4x4/chconf.h +++ b/keyboards/handwired/ck4x4/chconf.h @@ -331,7 +331,7 @@ * @note The default is @p TRUE. */ #if !defined(CH_CFG_USE_MEMCORE) -#define CH_CFG_USE_MEMCORE FALSE +#define CH_CFG_USE_MEMCORE TRUE #endif /** diff --git a/keyboards/handwired/onekey/stm32f0_disco/chconf.h b/keyboards/handwired/onekey/stm32f0_disco/chconf.h index 4640ff5332..03f63da36a 100644 --- a/keyboards/handwired/onekey/stm32f0_disco/chconf.h +++ b/keyboards/handwired/onekey/stm32f0_disco/chconf.h @@ -331,7 +331,7 @@ * @note The default is @p TRUE. */ #if !defined(CH_CFG_USE_MEMCORE) -#define CH_CFG_USE_MEMCORE FALSE +#define CH_CFG_USE_MEMCORE TRUE #endif /** -- cgit v1.2.3