system/spi/Kconfig: This patch fixes a missing definition in the spitool when SPI is enabled with command/data switching.

This commit is contained in:
Dave Marples 2019-11-25 07:41:14 -06:00 committed by Gregory Nutt
parent e89a1aa54d
commit 12224806dc

View File

@ -46,6 +46,14 @@ config SPITOOL_DEFFREQ
---help--- ---help---
Default SPI frequency (default: 4000000) Default SPI frequency (default: 4000000)
config SPITOOL_DEFCMD
int "Send in command mode"
default 0
---help---
Send in command or data mode
0 = Data mode
1 = Command mode
config SPITOOL_DEFMODE config SPITOOL_DEFMODE
int "SPI mode" int "SPI mode"
default 0 default 0