Browse Source

print error number on failure

master
Constantin Fürst 1 year ago
parent
commit
33d6c604ae
  1. BIN
      test-project/binaries/dml-test
  2. 2
      test-project/main.cpp

BIN
test-project/binaries/dml-test

2
test-project/main.cpp

@ -24,7 +24,7 @@ int execute_copy_crc(){
std::cout << "Finished successfully. Calculated CRC is: 0x" << std::hex << result.crc_value << std::dec << std::endl;
}
else {
std::cout << "Failure occurred." << std::endl;
std::cout << "Failure #" << static_cast<uint32_t>(result.status) << " occurred." << std::endl;
return -1;
}

Loading…
Cancel
Save