[libcamera-devel] [PATCH] libcamera: event_notifier: Fix signature typo setEnabled() in documentation

Umang Jain email at uajain.com
Mon Jul 27 09:07:09 CEST 2020


Signed-off-by: Umang Jain <email at uajain.com>
---
 src/libcamera/event_notifier.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/libcamera/event_notifier.cpp b/src/libcamera/event_notifier.cpp
index cc3ea0d..21c07fa 100644
--- a/src/libcamera/event_notifier.cpp
+++ b/src/libcamera/event_notifier.cpp
@@ -35,9 +35,9 @@ namespace libcamera {
  * multiple event types on the same file descriptor multiple notifiers must be
  * created.
  *
- * The notifier can be disabled with the setEnable() function. When the notifier
+ * The notifier can be disabled with the setEnabled() function. When the notifier
  * is disabled it ignores events and does not emit the \ref activated signal.
- * The notifier can then be re-enabled with the setEnable() function.
+ * The notifier can then be re-enabled with the setEnabled() function.
  *
  * Creating multiple notifiers of the same type for the same file descriptor is
  * not allowed and results in undefined behaviour.
@@ -90,7 +90,7 @@ EventNotifier::~EventNotifier()
  * \fn EventNotifier::enabled()
  * \brief Retrieve the notifier state
  * \return True if the notifier is enabled, or false otherwise
- * \sa setEnable()
+ * \sa setEnabled()
  */
 
 /**
-- 
2.26.2



More information about the libcamera-devel mailing list