aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/lippert/spacerunner-lx/mainboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/lippert/spacerunner-lx/mainboard.c')
-rw-r--r--src/mainboard/lippert/spacerunner-lx/mainboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mainboard/lippert/spacerunner-lx/mainboard.c b/src/mainboard/lippert/spacerunner-lx/mainboard.c
index b0bc74e9f6..594545d146 100644
--- a/src/mainboard/lippert/spacerunner-lx/mainboard.c
+++ b/src/mainboard/lippert/spacerunner-lx/mainboard.c
@@ -25,7 +25,7 @@
#include <device/pci_ids.h>
/* Bit0 turns off the Live LED, bit1 switches Com1 to RS485, bit2 same for Com2. */
-#if CONFIG_ONBOARD_UARTS_RS485
+#if IS_ENABLED(CONFIG_ONBOARD_UARTS_RS485)
#define SIO_GP1X_CONFIG 0x07
#else
#define SIO_GP1X_CONFIG 0x01