From 81b3200df4696e23e88f9028e9db7478cfe2b583 Mon Sep 17 00:00:00 2001 From: Paul Mucur Date: Mon, 14 Aug 2023 14:28:17 +0100 Subject: [PATCH] Fix documentation for gpio_set_irq_enabled (#1470) Add missing column separator for the table of gpio_irq_level values. Fixes https://github.com/raspberrypi/pico-sdk/issues/1469 --- src/rp2_common/hardware_gpio/include/hardware/gpio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rp2_common/hardware_gpio/include/hardware/gpio.h b/src/rp2_common/hardware_gpio/include/hardware/gpio.h index ae4807516..95acc11eb 100644 --- a/src/rp2_common/hardware_gpio/include/hardware/gpio.h +++ b/src/rp2_common/hardware_gpio/include/hardware/gpio.h @@ -370,7 +370,7 @@ enum gpio_drive_strength gpio_get_drive_strength(uint gpio); * Events is a bitmask of the following \ref gpio_irq_level values: * * bit | constant | interrupt - * ----|---------------------------------------------------------- + * ----|---------------------|------------------------------------ * 0 | GPIO_IRQ_LEVEL_LOW | Continuously while level is low * 1 | GPIO_IRQ_LEVEL_HIGH | Continuously while level is high * 2 | GPIO_IRQ_EDGE_FALL | On each transition from high to low