参数判断错误
This commit is contained in:
parent
08d1477f61
commit
abe5da2a3c
|
@ -820,7 +820,7 @@ uint NRF24L01::OnRead(Buffer& bs)
|
|||
// 向NRF的发送缓冲区中写入数据
|
||||
bool NRF24L01::SendTo(const Buffer& bs, const Buffer& addr)
|
||||
{
|
||||
if(bs.Length()) return false;
|
||||
if(!bs.Length()) return false;
|
||||
|
||||
TS("R24::SendTo");
|
||||
|
||||
|
|
Loading…
Reference in New Issue