add updatecheck for v5

This commit is contained in:
John
2023-06-11 10:46:07 +02:00
parent 7f0328cbae
commit dd7c668af4
4 changed files with 19 additions and 9 deletions
+2 -2
View File
@@ -710,8 +710,8 @@ bool Device::handleEnhancedBufferedData(symbol_t* value, ArbitrationState* arbit
case 0x0200:
case 0x0500: // with firmware version and jumper info
case 0x0800: // with firmware version, jumper info, and bootloader version
stream << static_cast<unsigned>(m_infoBuf[0]) << "." // version minor
<< std::hex << static_cast<unsigned>(m_infoBuf[1]); // features mask
stream << std::hex << static_cast<unsigned>(m_infoBuf[1]) // features mask
<< static_cast<unsigned>(m_infoBuf[0]) << "."; // version minor
if (m_infoLen >= 5) {
stream << "[" << std::setfill('0') << std::setw(2) << std::hex << static_cast<unsigned>(m_infoBuf[2])
<< std::setw(2) << static_cast<unsigned>(m_infoBuf[3]) << "]";