参数判断错误

This commit is contained in:
WangQiang 2016-09-19 01:13:04 +00:00
parent 08d1477f61
commit abe5da2a3c
1 changed files with 1 additions and 1 deletions

View File

@ -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");