mirror of
https://github.com/apache/nuttx.git
synced 2026-03-27 02:29:15 +08:00
lcd/st7789: raise compilation error when CONFIG_SPI_CMDDATA is not set
CONFIG_SPI_CMDDATA is required for correct functionality of the display. Signed-off-by: Michal Lenc <michallenc@seznam.cz>
This commit is contained in:
@@ -45,6 +45,12 @@
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
/* CONFIG_SPI_CMDDATA has to be set */
|
||||
|
||||
#ifndef CONFIG_SPI_CMDDATA
|
||||
# error "CONFIG_SPI_CMDDATA option has to be set for SPI communication"
|
||||
#endif
|
||||
|
||||
/* Verify that all configuration requirements have been met */
|
||||
|
||||
#ifndef CONFIG_LCD_ST7789_SPIMODE
|
||||
|
||||
Reference in New Issue
Block a user