From 41b82d3a89d0d0603ecf9fe5abfeb9f377c67489 Mon Sep 17 00:00:00 2001 From: Abtin Keshavarzian Date: Mon, 1 May 2017 14:46:30 -0700 Subject: [PATCH] Fix typos in comments (#1688) --- configure.ac | 4 ++-- examples/apps/cli/main.c | 2 +- examples/apps/ncp/main.c | 2 +- src/core/openthread-core-default-config.h | 4 ++-- tests/unit/test_fuzz.cpp | 2 +- tests/unit/test_message_queue.cpp | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/configure.ac b/configure.ac index 74cd1247e..0ebbcf6f6 100644 --- a/configure.ac +++ b/configure.ac @@ -1317,8 +1317,8 @@ AC_MSG_NOTICE([ OpenThread DHCPv6 Server support : ${enable_dhcp6_server} OpenThread DHCPv6 Client support : ${enable_dhcp6_client} OpenThread DNS Client support : ${enable_dns_client} - Openthread Application CoAP support : ${enable_application_coap} - Openthread Raw Link-Layer support : ${enable_raw_link_api} + OpenThread Application CoAP support : ${enable_application_coap} + OpenThread Raw Link-Layer support : ${enable_raw_link_api} OpenThread examples : ${OPENTHREAD_EXAMPLES} OpenThread platform information : ${PLATFORM_INFO} diff --git a/examples/apps/cli/main.c b/examples/apps/cli/main.c index 2a43f86b4..d8245a3c8 100644 --- a/examples/apps/cli/main.c +++ b/examples/apps/cli/main.c @@ -76,7 +76,7 @@ int main(int argc, char *argv[]) otInstanceBuffer = (uint8_t *)malloc(otInstanceBufferLength); assert(otInstanceBuffer); - // Initialize Openthread with the buffer + // Initialize OpenThread with the buffer sInstance = otInstanceInit(otInstanceBuffer, &otInstanceBufferLength); #else sInstance = otInstanceInit(); diff --git a/examples/apps/ncp/main.c b/examples/apps/ncp/main.c index 20c0872bc..9f9540067 100644 --- a/examples/apps/ncp/main.c +++ b/examples/apps/ncp/main.c @@ -76,7 +76,7 @@ int main(int argc, char *argv[]) otInstanceBuffer = (uint8_t *)malloc(otInstanceBufferLength); assert(otInstanceBuffer); - // Initialize Openthread with the buffer + // Initialize OpenThread with the buffer sInstance = otInstanceInit(otInstanceBuffer, &otInstanceBufferLength); #else sInstance = otInstanceInit(); diff --git a/src/core/openthread-core-default-config.h b/src/core/openthread-core-default-config.h index 2390ef1bc..e8f4babbf 100644 --- a/src/core/openthread-core-default-config.h +++ b/src/core/openthread-core-default-config.h @@ -572,7 +572,7 @@ /** * @def OPENTHREAD_CONFIG_PLAT_LOG_FUNCTION * - * Defines the name of function/marco used for logging inside Openthread, by default is set to `otPlatLog()`. + * Defines the name of function/macro used for logging inside OpenThread, by default is set to `otPlatLog()`. * */ #ifndef OPENTHREAD_CONFIG_PLAT_LOG_FUNCTION @@ -592,7 +592,7 @@ /** * @def OPENTHREAD_CONFIG_NUM_SLAAC_ADDRESSES * - * The number of autoconfigured SLAAC addresses. + * The number of auto-configured SLAAC addresses. * */ #ifndef OPENTHREAD_CONFIG_NUM_SLAAC_ADDRESSES diff --git a/tests/unit/test_fuzz.cpp b/tests/unit/test_fuzz.cpp index 7a3070cae..7cc1e2168 100644 --- a/tests/unit/test_fuzz.cpp +++ b/tests/unit/test_fuzz.cpp @@ -121,7 +121,7 @@ void TestFuzz(uint32_t aSeconds) VerifyOrQuit(otInstanceBuffer != NULL, "Failed to allocate otInstance"); memset(otInstanceBuffer, 0, otInstanceBufferLength); - // Initialize Openthread with the buffer + // Initialize OpenThread with the buffer aInstance = otInstanceInit(otInstanceBuffer, &otInstanceBufferLength); #else aInstance = otInstanceInit(); diff --git a/tests/unit/test_message_queue.cpp b/tests/unit/test_message_queue.cpp index 7f4788bd4..7a8abd49b 100644 --- a/tests/unit/test_message_queue.cpp +++ b/tests/unit/test_message_queue.cpp @@ -203,7 +203,7 @@ void TestMessageQueueOtApis(void) otInstanceBuffer = (uint8_t *)malloc(otInstanceBufferLength); assert(otInstanceBuffer); - // Initialize Openthread with the buffer + // Initialize OpenThread with the buffer instance = otInstanceInit(otInstanceBuffer, &otInstanceBufferLength); #else instance = otInstanceInit();