rmt: add RMT_CHANNELS_NUM in rmt_caps.h

This commit is contained in:
morris
2020-02-14 16:37:26 +08:00
parent ebd35a1657
commit 3c43264f83
4 changed files with 21 additions and 37 deletions

View File

@@ -49,7 +49,7 @@
#include "sdkconfig.h"
/* Select which RMT and PCNT channels, and GPIO to use */
#define REF_CLOCK_RMT_CHANNEL RMT_CHANNEL_MAX - 1
#define REF_CLOCK_RMT_CHANNEL RMT_CHANNELS_NUM - 1
#define REF_CLOCK_PCNT_UNIT 0
#define REF_CLOCK_GPIO 21