From 571f97e2b3c39f9a1bb3c8d8f9a49680753844c2 Mon Sep 17 00:00:00 2001 From: aanper Date: Fri, 16 Oct 2020 09:45:38 +0300 Subject: [PATCH] hotfix usb stack --- firmware/targets/f2/Inc/usbd_conf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/targets/f2/Inc/usbd_conf.h b/firmware/targets/f2/Inc/usbd_conf.h index 5c52dbc2d..272ad1e8f 100644 --- a/firmware/targets/f2/Inc/usbd_conf.h +++ b/firmware/targets/f2/Inc/usbd_conf.h @@ -92,10 +92,10 @@ /* Memory management macros */ /** Alias for memory allocation. */ -#define USBD_malloc malloc +#define USBD_malloc USBD_static_malloc /** Alias for memory release. */ -#define USBD_free free +#define USBD_free USBD_static_free /** Alias for memory set. */ #define USBD_memset memset