summaryrefslogtreecommitdiff
path: root/nuttx/configs/skp16c26/include/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/skp16c26/include/board.h')
-rw-r--r--nuttx/configs/skp16c26/include/board.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/configs/skp16c26/include/board.h b/nuttx/configs/skp16c26/include/board.h
index cf0a1c15b..d656e1352 100644
--- a/nuttx/configs/skp16c26/include/board.h
+++ b/nuttx/configs/skp16c26/include/board.h
@@ -57,7 +57,7 @@
* To be safe, we will error out on either selection:
*/
-#if !defined(CONFIG_UART1_DISABLE) || !defined(CONFIG_UART2_DISABLE)
+#if defined(CONFIG_M16C_UART1) || defined(CONFIG_M16C_UART2)
# error "UART1/2 should not be used on SKP16C26"
#endif