Skip to content

Commit

Permalink
Fix documentation for gpio_set_irq_enabled (#1470)
Browse files Browse the repository at this point in the history
Add missing column separator for the table of gpio_irq_level values.

Fixes #1469
  • Loading branch information
mudge authored Aug 14, 2023
1 parent fbb0783 commit 81b3200
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rp2_common/hardware_gpio/include/hardware/gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 81b3200

Please sign in to comment.