samples: w25q80bl: Fix wrong check for GPIO pin as CS
The check was wrong and was checking twice for the QMSI version. Change-Id: I7a73cc6523f141cae0e69b1a51791f6be87cb6de Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com>
This commit is contained in:
parent
ea84869d97
commit
80a3c8d4c3
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@
|
|||
|
||||
#include <misc/printk.h>
|
||||
|
||||
#if (!defined(CONFIG_SPI_QMSI_CS_GPIO) || !defined(CONFIG_SPI_QMSI_CS_GPIO))
|
||||
#if (!defined(CONFIG_SPI_QMSI_CS_GPIO) && !defined(CONFIG_SPI_DW_CS_GPIO))
|
||||
#error "This sample requires the GPIO pin as Chip Select feature"
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue