Explorar o código

Merge pull request #4033 from Guozhanxin/rtt_master

[fix] When enable audio and usb at the same time. The warning <"MIN" …
Bernard Xiong %!s(int64=4) %!d(string=hai) anos
pai
achega
e1e585a95a
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      components/drivers/audio/audio.c

+ 2 - 0
components/drivers/audio/audio.c

@@ -19,7 +19,9 @@
 #define DBG_LVL              DBG_INFO
 #include <rtdbg.h>
 
+#ifndef MIN
 #define MIN(a, b)         ((a) < (b) ? (a) : (b))
+#endif
 
 enum
 {