Fix typos (in comments) and alignments (#1105)

This commit is contained in:
Abtin Keshavarzian
2017-01-03 13:04:48 -08:00
committed by Jonathan Hui
parent a88bf4cef5
commit 2bce9557e6
5 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -949,7 +949,7 @@ OTAPI ThreadError OTCALL otGetPendingDataset(otInstance *aInstance, otOperationa
* @param[in] aDataset A pointer to the Pending Operational Dataset.
*
* @retval kThreadError_None Successfully set the Pending Operational Dataset.
* @retval kThreadError_NoBufs Insufficient buffer space to set the Pending Operational Datset.
* @retval kThreadError_NoBufs Insufficient buffer space to set the Pending Operational Dataset.
* @retval kThreadError_InvalidArgs @p aDataset was NULL.
*
*/
+1 -1
View File
@@ -965,7 +965,7 @@ public:
public:
/**
* This construct initializes an empty iterator.
* This constructor initializes an empty iterator.
*/
Iterator(void) : mMessage(NULL) { }
+1 -1
View File
@@ -150,7 +150,7 @@ public:
/**
* This constructor creates a timer instance.
*
* @param[in] aScheduler A refrence to the timer scheduler.
* @param[in] aScheduler A reference to the timer scheduler.
* @param[in] aHandler A pointer to a function that is called when the timer expires.
* @param[in] aContext A pointer to arbitrary context information.
*
+8 -8
View File
@@ -152,7 +152,7 @@
*
*/
#ifndef OPENTHREAD_CONFIG_MPL_SEED_SET_ENTRIES
#define OPENTHREAD_CONFIG_MPL_SEED_SET_ENTRIES 32
#define OPENTHREAD_CONFIG_MPL_SEED_SET_ENTRIES 32
#endif // OPENTHREAD_CONFIG_MPL_SEED_SET_ENTRIES
/**
@@ -162,7 +162,7 @@
*
*/
#ifndef OPENTHREAD_CONFIG_MPL_SEED_SET_ENTRY_LIFETIME
#define OPENTHREAD_CONFIG_MPL_SEED_SET_ENTRY_LIFETIME 5
#define OPENTHREAD_CONFIG_MPL_SEED_SET_ENTRY_LIFETIME 5
#endif // OPENTHREAD_CONFIG_MPL_SEED_SET_ENTRY_LIFETIME
/**
@@ -410,7 +410,7 @@
#endif // OPENTHREAD_CONFIG_LOG_PLATFORM
/**
* @def OPENTHREAD_CONFIG_LOG_PREPREND_LEVEL
* @def OPENTHREAD_CONFIG_LOG_PREPEND_LEVEL
*
* Define to prepend the log level to all log messages
*
@@ -420,7 +420,7 @@
#endif // OPENTHREAD_CONFIG_LOG_PREPEND_LEVEL
/**
* @def OPENTHREAD_CONFIG_LOG_PREPREND_REGION
* @def OPENTHREAD_CONFIG_LOG_PREPEND_REGION
*
* Define to prepend the log region to all log messages
*
@@ -466,7 +466,7 @@
*
*/
#ifndef OPENTHREAD_CONFIG_NCP_TX_BUFFER_SIZE
#define OPENTHREAD_CONFIG_NCP_TX_BUFFER_SIZE 512
#define OPENTHREAD_CONFIG_NCP_TX_BUFFER_SIZE 512
#endif // OPENTHREAD_CONFIG_NCP_TX_BUFFER_SIZE
/**
@@ -476,7 +476,7 @@
*
*/
#ifndef OPENTHREAD_CONFIG_NCP_UART_TX_CHUNK_SIZE
#define OPENTHREAD_CONFIG_NCP_UART_TX_CHUNK_SIZE 128
#define OPENTHREAD_CONFIG_NCP_UART_TX_CHUNK_SIZE 128
#endif // OPENTHREAD_CONFIG_NCP_UART_TX_CHUNK_SIZE
/**
@@ -486,7 +486,7 @@
*
*/
#ifndef OPENTHREAD_CONFIG_NCP_UART_RX_BUFFER_SIZE
#define OPENTHREAD_CONFIG_NCP_UART_RX_BUFFER_SIZE 1500
#define OPENTHREAD_CONFIG_NCP_UART_RX_BUFFER_SIZE 1500
#endif // OPENTHREAD_CONFIG_NCP_UART_RX_BUFFER_SIZE
/**
@@ -496,7 +496,7 @@
*
*/
#ifndef OPENTHREAD_CONFIG_NCP_SPI_BUFFER_SIZE
#define OPENTHREAD_CONFIG_NCP_SPI_BUFFER_SIZE 1500
#define OPENTHREAD_CONFIG_NCP_SPI_BUFFER_SIZE 1500
#endif // OPENTHREAD_CONFIG_NCP_SPI_BUFFER_SIZE
#endif // OPENTHREAD_CORE_DEFAULT_CONFIG_H_
+2 -2
View File
@@ -35,7 +35,7 @@
#define kNumTestMessages 3
// This function verifies the content of the priority queue to matches the passed in messages
// This function verifies the content of the priority queue to match the passed in messages
void VerifyPriorityQueueContent(Thread::PriorityQueue &aPriorityQueue, int aExpectedLength, ...)
{
va_list args;
@@ -138,7 +138,7 @@ void VerifyAllMessagesContent(Thread::MessagePool &aMessagePool, int aExpectedLe
va_end(args);
}
// This function verifies the content of the all message queue to match the passed in messages , but it goes
// This function verifies the content of the all message queue to match the passed in messages. It goes
// through the AllMessages list in reverse.
void VerifyAllMessagesContentInReverse(Thread::MessagePool &aMessagePool, int aExpectedLength, ...)
{