mirror of
https://github.com/espressif/openthread.git
synced 2026-10-26 09:13:52 +00:00
[style] fix typos (#3451)
This commit is contained in:
@@ -50,7 +50,7 @@ void otPlatDiagProcess(otInstance *aInstance, int argc, char *argv[], char *aOut
|
||||
OT_UNUSED_VARIABLE(argc);
|
||||
OT_UNUSED_VARIABLE(aInstance);
|
||||
|
||||
// Add more plarform specific diagnostics features here.
|
||||
// Add more platform specific diagnostics features here.
|
||||
snprintf(aOutput, aOutputMaxLen, "diag feature '%s' is not supported\r\n", argv[0]);
|
||||
}
|
||||
|
||||
|
||||
@@ -577,7 +577,7 @@ void cc2538RadioProcess(otInstance *aInstance)
|
||||
else
|
||||
#endif
|
||||
{
|
||||
// signal MAC layer for each received frame if promiscous is enabled
|
||||
// signal MAC layer for each received frame if promiscuous is enabled
|
||||
// otherwise only signal MAC layer for non-ACK frame
|
||||
if (((HWREG(RFCORE_XREG_FRMFILT0) & RFCORE_XREG_FRMFILT0_FRAME_FILTER_EN) == 0) ||
|
||||
(sReceiveFrame.mLength > IEEE802154_ACK_LENGTH))
|
||||
|
||||
@@ -56,7 +56,7 @@ void otPlatDiagProcess(otInstance *aInstance, int argc, char *argv[], char *aOut
|
||||
OT_UNUSED_VARIABLE(aInstance);
|
||||
OT_UNUSED_VARIABLE(argc);
|
||||
|
||||
// Add more plarform specific diagnostics features here.
|
||||
// Add more platform specific diagnostics features here.
|
||||
snprintf(aOutput, aOutputMaxLen, "diag feature '%s' is not supported\r\n", argv[0]);
|
||||
}
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ void otPlatDiagProcess(otInstance *aInstance, int argc, char *argv[], char *aOut
|
||||
OT_UNUSED_VARIABLE(aInstance);
|
||||
OT_UNUSED_VARIABLE(argc);
|
||||
|
||||
// Add more plarform specific diagnostics features here.
|
||||
// Add more platform specific diagnostics features here.
|
||||
snprintf(aOutput, aOutputMaxLen, "diag feature '%s' is not supported\r\n", argv[0]);
|
||||
}
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ void otPlatDiagProcess(otInstance *aInstance, int argc, char *argv[], char *aOut
|
||||
OT_UNUSED_VARIABLE(aInstance);
|
||||
OT_UNUSED_VARIABLE(argc);
|
||||
|
||||
// Add more plarform specific diagnostics features here.
|
||||
// Add more platform specific diagnostics features here.
|
||||
snprintf(aOutput, aOutputMaxLen, "diag feature '%s' is not supported\r\n", argv[0]);
|
||||
}
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ void otPlatDiagProcess(otInstance *aInstance, int argc, char *argv[], char *aOut
|
||||
OT_UNUSED_VARIABLE(aInstance);
|
||||
OT_UNUSED_VARIABLE(argc);
|
||||
|
||||
// Add more plarform specific diagnostics features here.
|
||||
// Add more platform specific diagnostics features here.
|
||||
snprintf(aOutput, aOutputMaxLen, "diag feature '%s' is not supported\r\n", argv[0]);
|
||||
}
|
||||
|
||||
|
||||
@@ -309,7 +309,7 @@ void otPlatDebugUart_putchar_raw(int c)
|
||||
* in some/many cases duplicate cr because in
|
||||
* some cases the log function {ie: Mbed} already
|
||||
* includes the CR or LF... but other log functions
|
||||
* do not include cr/lf and expect it appened
|
||||
* do not include cr/lf and expect it appended
|
||||
*/
|
||||
fp = posix_logfile;
|
||||
|
||||
|
||||
@@ -100,7 +100,7 @@ otError otPlatUartDisable(void)
|
||||
// Set the shutdown event
|
||||
SetEvent(s_StopWorkerEvent);
|
||||
|
||||
// Wait for the worker to compelte
|
||||
// Wait for the worker to complete
|
||||
WaitForSingleObject(s_WorkerThread, INFINITE);
|
||||
|
||||
CloseHandle(s_WorkerThread);
|
||||
|
||||
@@ -50,7 +50,7 @@ void otPlatDiagProcess(otInstance *aInstance, int argc, char *argv[], char *aOut
|
||||
OT_UNUSED_VARIABLE(aInstance);
|
||||
OT_UNUSED_VARIABLE(argc);
|
||||
|
||||
// Add more plarform specific diagnostics features here.
|
||||
// Add more platform specific diagnostics features here.
|
||||
snprintf(aOutput, aOutputMaxLen, "diag feature '%s' is not supported\r\n", argv[0]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user