]> granicus.if.org Git - esp-idf/commitdiff
docs: Error in gpio_install_isr_service() description
authorKonstantin Fedorov <sintech@users.noreply.github.com>
Wed, 3 May 2017 19:40:01 +0000 (22:40 +0300)
committerAngus Gratton <gus@projectgus.com>
Wed, 17 May 2017 01:04:17 +0000 (11:04 +1000)
Merges https://github.com/espressif/esp-idf/pull/564

components/driver/include/driver/gpio.h

index 6c79f7b8b3b3b85568bfafe87ae68aad0ec4fb1f..33f87bdfac214c0300e2f96c9fee7dcc1237ffb0 100644 (file)
@@ -412,7 +412,7 @@ esp_err_t gpio_pulldown_dis(gpio_num_t gpio_num);
 /**
   * @brief Install the driver's GPIO ISR handler service, which allows per-pin GPIO interrupt handlers.
   *
-  * This function is incompatible with gpio_isr_register() - if that function is used, a single global ISR is registered for all GPIO interrupts. If this function is used, the ISR service provides a global GPIO ISR and individual pin handlers are registered via the gpio_isr_register() function.
+  * This function is incompatible with gpio_isr_register() - if that function is used, a single global ISR is registered for all GPIO interrupts. If this function is used, the ISR service provides a global GPIO ISR and individual pin handlers are registered via the gpio_isr_handler_add() 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.