mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Merge pull request #17014 from benpicco/periph/gpio-cb_not_NULL
drivers/periph/gpio: state that interrupt callback must not be NULL
This commit is contained in:
commit
bfb8d1d3fd
@ -182,6 +182,8 @@ int gpio_init(gpio_t pin, gpio_mode_t mode);
|
||||
* @note You have to add the module `periph_gpio_irq` to your project to
|
||||
* enable this function
|
||||
*
|
||||
* @pre @p cb must not be NULL
|
||||
*
|
||||
* @param[in] pin pin to initialize
|
||||
* @param[in] mode mode of the pin, see @c gpio_mode_t
|
||||
* @param[in] flank define the active flank(s)
|
||||
|
Loading…
Reference in New Issue
Block a user