Skip to content
Snippets Groups Projects
Commit d0b7b49a authored by Alexandre MALFREYT's avatar Alexandre MALFREYT
Browse files

fix: handle empty boardType in get_device_property() to improve error handling

parent ccb0929d
No related branches found
No related tags found
No related merge requests found
......@@ -796,7 +796,7 @@ void SingleShotAO::get_device_property()
//- <BoardType> -----------------------
// Case 1 (error): boardType is set to the default value in the database
if (boardType == boardType_default)
if (boardType == boardType_default || boardType == "")
{
errorMessages << "Device property <BoardType> is not set (default value " << boardType_default << " needs to be replaced)" << endl;
critical_properties_missing = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment