From 29502b2dc4f6ced10b6366c2ce381947f02209d8 Mon Sep 17 00:00:00 2001 From: krzysztof-cabaj Date: Mon, 1 Jan 2024 13:26:24 +0100 Subject: [PATCH] cpu/stm32/periph: fix typo - or RAM --- cpu/stm32/periph/gpio_ll_irq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/stm32/periph/gpio_ll_irq.c b/cpu/stm32/periph/gpio_ll_irq.c index faf5781db0..046f370978 100644 --- a/cpu/stm32/periph/gpio_ll_irq.c +++ b/cpu/stm32/periph/gpio_ll_irq.c @@ -316,7 +316,7 @@ void isr_exti(void) /* emulate level triggered IRQs by asserting the IRQ again in software, if needed */ if (level_triggered & (1UL << pin)) { /* Trading a couple of CPU cycles to not having to store port connected to EXTI in RAM. - * A simple look up table would save ~6 instructions for the cost 64 byte or RAM. */ + * A simple look up table would save ~6 instructions for the cost 64 bytes of RAM. */ gpio_port_t port = GPIO_PORT(get_exti_port(pin)); uint32_t actual_level = gpio_ll_read(port) & (1UL << pin); uint32_t trigger_level = EXTI_REG_RTSR & (1UL << pin);