docs/gpio: reword description for getters

This commit is contained in:
Vanya A. Sergeev
2020-01-07 00:34:48 -06:00
parent f08e0402ef
commit 7185281ee7
+1 -1
View File
@@ -171,7 +171,7 @@ Free a GPIO handle.
int gpio_get_direction(gpio_t *gpio, gpio_direction_t *direction);
int gpio_get_edge(gpio_t *gpio, gpio_edge_t *edge);
```
Query the configured direction or interrupt edge, respectively, of the GPIO.
Get the configured direction or interrupt edge, respectively, of the GPIO.
`gpio` should be a valid pointer to a GPIO handle opened with one of the `gpio_open*()` functions.