[docs] fix typos in comments and variable name (#2132)

This commit is contained in:
Abtin Keshavarzian
2017-08-24 11:27:05 -07:00
committed by Jonathan Hui
parent 293d0d4c66
commit d4e6b8302e
6 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -173,7 +173,7 @@
## Standards
- OpenThread uses and enfores both Python 2 and Python 3. Support for Python 2 is a result of the fact that some current Linux distributions and Macs are still using 2.x as default.
- OpenThread uses and enforces both Python 2 and Python 3. Support for Python 2 is a result of the fact that some current Linux distributions and Macs are still using 2.x as default.
## Conventions and Best Practices
+1 -1
View File
@@ -328,7 +328,7 @@ otError otPlatRadioClearSrcMatchShortEntry(otInstance *aInstance, const uint16_t
* Remove an extended address from the source address match table.
*
* @param[in] aInstance The OpenThread instance structure.
* @param[in] aExtAddress The extended address to be removed stoerd in little-endian byte order.
* @param[in] aExtAddress The extended address to be removed stored in little-endian byte order.
*
* @retval OT_ERROR_NONE Successfully removed the extended address from the source match table.
* @retval OT_ERROR_NO_ADDRESS The extended address is not in source address match table.
+2 -2
View File
@@ -62,11 +62,11 @@ namespace ot {
namespace MeshCoP {
DatasetManager::DatasetManager(ThreadNetif &aThreadNetif, const Tlv::Type aType, const char *aUriSet,
const char *aUriGet, Timer::Handler aTimerHander):
const char *aUriGet, Timer::Handler aTimerHandler):
ThreadNetifLocator(aThreadNetif),
mLocal(aThreadNetif.GetInstance(), aType),
mNetwork(aType),
mTimer(aThreadNetif.GetInstance(), aTimerHander, this),
mTimer(aThreadNetif.GetInstance(), aTimerHandler, this),
mUriSet(aUriSet),
mUriGet(aUriGet)
{
+1 -1
View File
@@ -131,7 +131,7 @@ protected:
*
*/
DatasetManager(ThreadNetif &aThreadNetif, const Tlv::Type aType, const char *aUriSet, const char *aUriGet,
TimerMilli::Handler aTimerHander);
TimerMilli::Handler aTimerHandler);
/**
* This method restores the Operational Dataset from non-volatile memory.
+1 -1
View File
@@ -182,7 +182,7 @@ public:
/**
* This method update addresses that shall be automatically created using DHCP.
*
* @param[in] aInstance A pointer to openThread instance.
* @param[in] aInstance A pointer to OpenThread instance.
* @param[inout] aAddresses A pointer to an array containing addresses created by this module.
* @param[in] aNumAddresses The number of elements in aAddresses array.
* @param[in] aContext A pointer to IID creator-specific context data.
+1 -1
View File
@@ -72,7 +72,7 @@ public:
/**
* This function update addresses that shall be automatically created using SLAAC.
*
* @param[in] aInstance A pointer to openThread instance.
* @param[in] aInstance A pointer to OpenThread instance.
* @param[inout] aAddresses A pointer to an array containing addresses created by this module.
* @param[in] aNumAddresses The number of elements in aAddresses array.
* @param[in] aIidCreator A pointer to function that will be used to create IID for IPv6 addresses.