From d24833f890601e48b781782cf559fc4f4d3cbb4d Mon Sep 17 00:00:00 2001 From: Ciaran Woodward Date: Mon, 30 Nov 2020 20:58:08 +0000 Subject: [PATCH] [docs] fix typo in sntp docs (#5889) --- include/openthread/instance.h | 2 +- include/openthread/sntp.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/openthread/instance.h b/include/openthread/instance.h index f3b151ebd..ed9c69ba3 100644 --- a/include/openthread/instance.h +++ b/include/openthread/instance.h @@ -53,7 +53,7 @@ extern "C" { * @note This number versions both OpenThread platform and user APIs. * */ -#define OPENTHREAD_API_VERSION (49) +#define OPENTHREAD_API_VERSION (50) /** * @addtogroup api-instance diff --git a/include/openthread/sntp.h b/include/openthread/sntp.h index 34a7817aa..ca61f0a59 100644 --- a/include/openthread/sntp.h +++ b/include/openthread/sntp.h @@ -85,7 +85,7 @@ typedef void (*otSntpResponseHandler)(void *aContext, uint64_t aTime, otError aR /** * This function sends a SNTP query. * - * This function is available only if feature `OPENTHREAD_CONFIG_SNTP_CLIENT_ENABLE_CLIENT` is enabled. + * This function is available only if feature `OPENTHREAD_CONFIG_SNTP_CLIENT_ENABLE` is enabled. * * @param[in] aInstance A pointer to an OpenThread instance. * @param[in] aQuery A pointer to specify SNTP query parameters.