Merge branch 'M17_AX25_FM' into I2C
This commit is contained in:
commit
221e2fcfe7
2 changed files with 3 additions and 2 deletions
|
@ -77,7 +77,8 @@ int CUDPController::read(unsigned char* buffer, unsigned int length)
|
|||
if (avail < length)
|
||||
length = avail;
|
||||
|
||||
m_buffer.getData(buffer, length);
|
||||
if (length > 0U)
|
||||
m_buffer.getData(buffer, length);
|
||||
|
||||
return int(length);
|
||||
}
|
||||
|
|
|
@ -19,6 +19,6 @@
|
|||
#if !defined(VERSION_H)
|
||||
#define VERSION_H
|
||||
|
||||
const char* VERSION = "20210217";
|
||||
const char* VERSION = "20210218";
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue