From 6ebf9d86d095604b9357abc8da1a1a6673856fa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Gassmann?= Date: Sun, 8 Sep 2024 09:52:31 +0200 Subject: [~] Typo fix --- components/screen/screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'components/screen/screen.c') diff --git a/components/screen/screen.c b/components/screen/screen.c index 8d29265..c6de3c7 100644 --- a/components/screen/screen.c +++ b/components/screen/screen.c @@ -78,7 +78,7 @@ void configure_screen(struct Screen* screen) for (uint8_t i = 0; i <= 3; ++i) { uint8_t reg = REG_IODIRA; - if (screen->nixies[i].reg != REG_GPIOA) reg = REG_GPIOB; + if (screen->nixies[i].reg != REG_GPIOA) reg = REG_IODIRB; mcp_set_mode(screen->mcp, reg, screen->nixies[i].D, MCP_GPIO_OUTPUT); mcp_set_mode(screen->mcp, reg, screen->nixies[i].C, MCP_GPIO_OUTPUT); mcp_set_mode(screen->mcp, reg, screen->nixies[i].B, MCP_GPIO_OUTPUT); -- cgit v1.2.3