From 75e0c6aaf5fb5ff32c17b1cbf1f86bef8e288fe6 Mon Sep 17 00:00:00 2001 From: Martin Thierer Date: Mon, 2 Sep 2019 12:39:39 +0200 Subject: [PATCH] gpio_isr_register(): Correct order of arguments in docs Make documentation order consistent with function signature. Merges https://github.com/espressif/esp-idf/pull/3999 --- components/driver/include/driver/gpio.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/driver/include/driver/gpio.h b/components/driver/include/driver/gpio.h index aac81566fc..5c0af86760 100644 --- a/components/driver/include/driver/gpio.h +++ b/components/driver/include/driver/gpio.h @@ -215,9 +215,9 @@ esp_err_t gpio_wakeup_disable(gpio_num_t gpio_num); * per-GPIO ISRs. * * @param fn Interrupt handler function. + * @param arg Parameter for handler function * @param intr_alloc_flags Flags used to allocate the interrupt. One or multiple (ORred) * ESP_INTR_FLAG_* values. See esp_intr_alloc.h for more info. - * @param arg Parameter for handler function * @param handle Pointer to return handle. If non-NULL, a handle for the interrupt will be returned here. * * \verbatim embed:rst:leading-asterisk