xtensa/esp32: fix if define convention to use parentheses

This commit is contained in:
Tiago Medicci Serrano 2022-10-07 15:19:20 -03:00 committed by Xiang Xiao
parent ebf9af662e
commit 1d0a37cd10
2 changed files with 4 additions and 4 deletions

View File

@ -37,8 +37,8 @@
#include "esp32_i2s.h" #include "esp32_i2s.h"
#if defined CONFIG_ESP32_I2S0 && !defined CONFIG_AUDIO_CS4344 || \ #if defined(CONFIG_ESP32_I2S0) && !defined(CONFIG_AUDIO_CS4344) || \
defined CONFIG_ESP32_I2S1 defined(CONFIG_ESP32_I2S1)
/**************************************************************************** /****************************************************************************
* Public Functions * Public Functions

View File

@ -173,8 +173,8 @@ int esp32_twai_setup(void);
* *
****************************************************************************/ ****************************************************************************/
#if defined CONFIG_ESP32_I2S0 && !defined CONFIG_AUDIO_CS4344 || \ #if defined(CONFIG_ESP32_I2S0) && !defined(CONFIG_AUDIO_CS4344) || \
defined CONFIG_ESP32_I2S1 defined(CONFIG_ESP32_I2S1)
int board_i2sdev_initialize(int port); int board_i2sdev_initialize(int port);
#endif #endif