mirror of
https://github.com/espressif/openthread.git
synced 2026-10-24 08:13:54 +00:00
Change/fix few remaining kThreadError (referenced in comments) to OT_ERROR. (#1822)
This commit is contained in:
committed by
Jonathan Hui
parent
43d70c6897
commit
ff80fb16f4
@@ -154,11 +154,11 @@ extern "C" {
|
||||
OTAPI const char *OTCALL otGetVersionString(void);
|
||||
|
||||
/**
|
||||
* This function converts a otError enum into a string.
|
||||
* This function converts an otError enum into a string.
|
||||
*
|
||||
* @param[in] aError A otError enum.
|
||||
* @param[in] aError An otError enum.
|
||||
*
|
||||
* @returns A string representation of a ThreadError.
|
||||
* @returns A string representation of an otError.
|
||||
*
|
||||
*/
|
||||
OTAPI const char *OTCALL otThreadErrorToString(otError aError);
|
||||
|
||||
+1
-1
@@ -359,7 +359,7 @@ void NcpSpi::HandleRxFrame(void)
|
||||
otPlatSpiSlavePrepareTransaction(mEmptySendFrameFullAccept, kSpiHeaderLength, mReceiveFrame,
|
||||
sizeof(mReceiveFrame), false);
|
||||
|
||||
// No need to check the error status. Getting `kThreadError_Busy`
|
||||
// No need to check the error status. Getting `OT_ERROR_BUSY`
|
||||
// is OK as everything will be set up properly from callback when
|
||||
// the current transaction is completed.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user