From b92bd46b602da2700d206cbb76a8009e94b7d41c Mon Sep 17 00:00:00 2001 From: Yakun Xu Date: Wed, 11 Dec 2024 13:58:47 +0800 Subject: [PATCH] [api] correct typo of CallbackContext (#11034) --- include/openthread/instance.h | 2 +- include/openthread/thread.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/openthread/instance.h b/include/openthread/instance.h index d23454c90..e6cfce321 100644 --- a/include/openthread/instance.h +++ b/include/openthread/instance.h @@ -52,7 +52,7 @@ extern "C" { * * @note This number versions both OpenThread platform and user APIs. */ -#define OPENTHREAD_API_VERSION (466) +#define OPENTHREAD_API_VERSION (467) /** * @addtogroup api-instance diff --git a/include/openthread/thread.h b/include/openthread/thread.h index 1491e1b46..173fa0920 100644 --- a/include/openthread/thread.h +++ b/include/openthread/thread.h @@ -1159,7 +1159,7 @@ uint32_t otThreadGetStoreFrameCounterAhead(otInstance *aInstance); * @param[in] aWakeupIntervalUs An interval between consecutive wake-up frames (in microseconds). * @param[in] aWakeupDurationMs Duration of the wake-up sequence (in milliseconds). * @param[in] aCallback A pointer to function that is called when the wake-up succeeds or fails. - * @param[in] aContext A pointer to callback application-specific context. + * @param[in] aCallbackContext A pointer to callback application-specific context. * * @retval OT_ERROR_NONE Successfully started the wake-up. * @retval OT_ERROR_INVALID_STATE Another attachment request is still in progress.