Skip to content

Commit e1e585a

Browse files
authored
Merge pull request #4033 from Guozhanxin/rtt_master
[fix] When enable audio and usb at the same time. The warning <"MIN" …
2 parents 2ef3c9d + 3952fd7 commit e1e585a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/drivers/audio/audio.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
#define DBG_LVL DBG_INFO
2020
#include <rtdbg.h>
2121

22+
#ifndef MIN
2223
#define MIN(a, b) ((a) < (b) ? (a) : (b))
24+
#endif
2325

2426
enum
2527
{

0 commit comments

Comments
 (0)