Browse Source

Merge pull request #4033 from Guozhanxin/rtt_master

[fix] When enable audio and usb at the same time. The warning <"MIN" …
Bernard Xiong 4 năm trước cách đây
mục cha
commit
e1e585a95a
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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
 {