소스 검색

Merge pull request #4033 from Guozhanxin/rtt_master

[fix] When enable audio and usb at the same time. The warning <"MIN" …
Bernard Xiong 4 년 전
부모
커밋
e1e585a95a
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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
 {