Change/fix few remaining kThreadError (referenced in comments) to OT_ERROR. (#1822)

This commit is contained in:
Abtin Keshavarzian
2017-05-24 13:42:32 -07:00
committed by Jonathan Hui
parent 43d70c6897
commit ff80fb16f4
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -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
View File
@@ -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.
}