summaryrefslogtreecommitdiff
path: root/nuttx/configs/sam4l-xplained/src/sam_ug2832hsweg04.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/sam4l-xplained/src/sam_ug2832hsweg04.c')
-rw-r--r--nuttx/configs/sam4l-xplained/src/sam_ug2832hsweg04.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/configs/sam4l-xplained/src/sam_ug2832hsweg04.c b/nuttx/configs/sam4l-xplained/src/sam_ug2832hsweg04.c
index 5ea61774a..b845b5084 100644
--- a/nuttx/configs/sam4l-xplained/src/sam_ug2832hsweg04.c
+++ b/nuttx/configs/sam4l-xplained/src/sam_ug2832hsweg04.c
@@ -103,8 +103,8 @@
# error "The OLED driver requires CONFIG_LCD_UG2832HSWEG04 in the configuration"
#endif
-#ifndef CONFIG_SAM34_SPI
-# error "The OLED driver requires CONFIG_SAM34_SPI in the configuration"
+#ifndef CONFIG_SAM34_SPI0
+# error "The OLED driver requires CONFIG_SAM34_SPI0 in the configuration"
#endif
#ifndef CONFIG_SPI_CMDDATA