Procházet zdrojové kódy

Merge branch 'master' into gui-refactor

aanper před 5 roky
rodič
revize
d80e22a6c6
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      firmware/targets/f2/Inc/usbd_conf.h

+ 2 - 2
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