Log "Missing Firmware" if firmware is missing

This commit is contained in:
Eladash 2021-02-15 09:56:44 +02:00 committed by Megamouse
parent 9f97bab717
commit 4c1026436f

View File

@ -399,7 +399,7 @@ int main(int argc, char** argv)
{
const std::string firmware_version = utils::get_firmware_version();
const std::string firmware_string = firmware_version.empty() ? "" : (" | Firmware version: " + firmware_version);
const std::string firmware_string = firmware_version.empty() ? " | Missing Firmware" : (" | Firmware version: " + firmware_version);
// Write initial message
logs::stored_message ver;