Skip to content

Commit

Permalink
Fixed status printout
Browse files Browse the repository at this point in the history
  • Loading branch information
grodansparadis committed Nov 22, 2024
1 parent 3402415 commit dbdc188
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/vscp/common/vscp-bootdevice-vscp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,11 @@ CBootDevice_VSCP::deviceInit(cguid &ourguid, uint16_t devicecode, bool bAbortOnF
m_stdRegs.getFirmwareDeviceCode());
if (nullptr != m_statusCallback) {
m_statusCallback(-1,
"Firmware device code is not equal! <strong>Firmware</strong>: {0} <strong>Device</strong>: {1}",
m_firmwaredeviceCode,
m_stdRegs.getFirmwareDeviceCode());
vscp_str_format(
"Firmware device code is not equal! Firmware: {0} Device: {1}",
m_firmwaredeviceCode,
m_stdRegs.getFirmwareDeviceCode())
.c_str());
}
if (bAbortOnFirmwareCodeFail) {
return VSCP_ERROR_PARAMETER;
Expand Down

0 comments on commit dbdc188

Please sign in to comment.