mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-27 07:21:18 +01:00
periph/gpio: fix scope of GPIO_IRQ submodule
Move the gpio_irq_enable() and gpio_irq_disable() functions into the scope of the PERIPH_GPIO_IRQ submodule.
This commit is contained in:
parent
c7e6d15990
commit
abc11c8e23
@ -169,8 +169,6 @@ int gpio_init(gpio_t pin, gpio_mode_t mode);
|
||||
int gpio_init_int(gpio_t pin, gpio_mode_t mode, gpio_flank_t flank,
|
||||
gpio_cb_t cb, void *arg);
|
||||
|
||||
#endif /* MODULE_PERIPH_GPIO_IRQ */
|
||||
|
||||
/**
|
||||
* @brief Enable pin interrupt if configured as interrupt source
|
||||
*
|
||||
@ -185,6 +183,8 @@ void gpio_irq_enable(gpio_t pin);
|
||||
*/
|
||||
void gpio_irq_disable(gpio_t pin);
|
||||
|
||||
#endif /* MODULE_PERIPH_GPIO_IRQ */
|
||||
|
||||
/**
|
||||
* @brief Get the current value of the given pin
|
||||
*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user