mirror of
https://github.com/espressif/openthread.git
synced 2026-09-07 17:50:09 +00:00
Update formatting in NcpSpi and spi-slave.h files (#1648)
This commit contains node logic change. It makes some formatting changes in the comments, also renames method/function argument/param variable names to follow the style guideline (e.g., `anInputBuf -> aInputBuf`).
This commit is contained in:
committed by
Jonathan Hui
parent
25eb3debd3
commit
0d9e403286
@@ -36,10 +36,7 @@
|
||||
|
||||
// Spi-slave stubs
|
||||
|
||||
ThreadError otPlatSpiSlaveEnable(
|
||||
otPlatSpiSlaveTransactionCompleteCallback aCallback,
|
||||
void *aContext
|
||||
)
|
||||
ThreadError otPlatSpiSlaveEnable(otPlatSpiSlaveTransactionCompleteCallback aCallback, void *aContext)
|
||||
{
|
||||
(void)aCallback;
|
||||
(void)aContext;
|
||||
@@ -54,18 +51,13 @@ void otPlatSpiSlaveDisable(void)
|
||||
{
|
||||
}
|
||||
|
||||
ThreadError otPlatSpiSlavePrepareTransaction(
|
||||
uint8_t *anOutputBuf,
|
||||
uint16_t anOutputBufLen,
|
||||
uint8_t *anInputBuf,
|
||||
uint16_t anInputBufLen,
|
||||
bool aRequestTransactionFlag
|
||||
)
|
||||
ThreadError otPlatSpiSlavePrepareTransaction(uint8_t *aOutputBuf, uint16_t aOutputBufLen, uint8_t *aInputBuf,
|
||||
uint16_t aInputBufLen, bool aRequestTransactionFlag)
|
||||
{
|
||||
(void)anOutputBuf;
|
||||
(void)anOutputBufLen;
|
||||
(void)anInputBuf;
|
||||
(void)anInputBufLen;
|
||||
(void)aOutputBuf;
|
||||
(void)aOutputBufLen;
|
||||
(void)aInputBuf;
|
||||
(void)aInputBufLen;
|
||||
(void)aRequestTransactionFlag;
|
||||
|
||||
return kThreadError_NotImplemented;
|
||||
|
||||
Reference in New Issue
Block a user