Fix bugs.

This commit is contained in:
Jonathan Naylor 2020-11-18 20:35:07 +00:00
parent ca4fff2ba6
commit 029e7eef4a
4 changed files with 13 additions and 3 deletions

View file

@ -347,7 +347,7 @@ void CSerialPort::getVersion()
reply[6U] = io.getCPU();
// Reserve 16 bytes for the UDID
::memcpy(reply + 7U, 0x00U, 16U);
::memset(reply + 7U, 0x00U, 16U);
io.getUDID(reply + 7U);
uint8_t count = 23U;