Fix wrong assignment of channel and unit in pcnt_unit_config

This commit is contained in:
me-no-dev
2016-12-06 01:11:32 +02:00
parent c8685c2002
commit 2dbae95a7e
2 changed files with 3 additions and 3 deletions

View File

@@ -45,7 +45,7 @@ typedef enum {
PCNT_UNIT_MAX,
} pcnt_unit_t;
typedef enum{
typedef enum {
PCNT_CHANNEL_0 = 0x00, /*!< PCNT channel0 */
PCNT_CHANNEL_1 = 0x01, /*!< PCNT channel1 */
PCNT_CHANNEL_MAX,