mirror of
https://github.com/espressif/openthread.git
synced 2026-06-05 21:14:49 +00:00
[docs] fix typos in comments and variable name (#2132)
This commit is contained in:
committed by
Jonathan Hui
parent
293d0d4c66
commit
d4e6b8302e
+1
-1
@@ -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
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user