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:
parent
fd91af4f70
commit
824e6b3271
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue