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.