mirror of
https://github.com/espressif/openthread.git
synced 2026-07-09 13:50:28 +00:00
Move otPlatUartEnable to CLI or NCP init functions. (#1359)
This commit is contained in:
committed by
Jonathan Hui
parent
c1dc4f6aa9
commit
fb49b6a222
@@ -68,6 +68,8 @@ Uart::Uart(otInstance *aInstance):
|
||||
mTxHead = 0;
|
||||
mTxLength = 0;
|
||||
mSendLength = 0;
|
||||
|
||||
otPlatUartEnable();
|
||||
}
|
||||
|
||||
extern "C" void otPlatUartReceived(const uint8_t *aBuf, uint16_t aBufLength)
|
||||
|
||||
Reference in New Issue
Block a user