summaryrefslogtreecommitdiff
path: root/chip/host/config_chip.h
diff options
context:
space:
mode:
Diffstat (limited to 'chip/host/config_chip.h')
-rw-r--r--chip/host/config_chip.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/host/config_chip.h b/chip/host/config_chip.h
index 8fea752bae..aa48520b3a 100644
--- a/chip/host/config_chip.h
+++ b/chip/host/config_chip.h
@@ -51,7 +51,7 @@ extern char __host_flash[CONFIG_FLASH_SIZE];
#undef CONFIG_COMMON_TIMER
#define GPIO_PIN(port, index) GPIO_##port, BIT(index)
-#define GPIO_PIN_MASK(p, m) .port = GPIO_##p, .mask = (m)
+#define GPIO_PIN_MASK(port, mask) GPIO_##port, (mask)
#define I2C_PORT_COUNT 1