mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-17 18:48:43 +00:00
system: zmodem: Fix debug assert condition
This commit is contained in:
parent
5c936ce0e4
commit
437dba336e
1 changed files with 1 additions and 1 deletions
|
|
@ -755,7 +755,7 @@ static int zm_parse(FAR struct zm_state_s *pzm, size_t rcvlen)
|
|||
uint8_t ch;
|
||||
int ret;
|
||||
|
||||
DEBUGASSERT(pzm && rcvlen < CONFIG_SYSTEM_ZMODEM_RCVBUFSIZE);
|
||||
DEBUGASSERT(pzm && rcvlen <= CONFIG_SYSTEM_ZMODEM_RCVBUFSIZE);
|
||||
zm_dumpbuffer("Received", pzm->rcvbuf, rcvlen);
|
||||
|
||||
/* We keep a copy of the length and buffer index in the state structure.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue