Skip to content

Commit

Permalink
layer: Fix invalid feature warning
Browse files Browse the repository at this point in the history
  • Loading branch information
aqnuep committed Aug 16, 2023
1 parent 8ec34d9 commit f93e14e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/gen_profiles_layer.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ class JsonLoader {
if (not_modifiable) {
LogMessage(layer_settings, DEBUG_REPORT_WARNING_BIT,
"'%s' is not modifiable but the profile value (%s) is different from the device (%s) value (%s)\\n", cap_name, new_value ? "true" : "false", device_name, old_value ? "true" : "false");
} else {
} else if (new_value) {
LogMessage(layer_settings, DEBUG_REPORT_WARNING_BIT,
"'%s' profile value is enabled in the profile, but the device (%s) does not support it.\\n", cap_name, device_name);
}
Expand Down

0 comments on commit f93e14e

Please sign in to comment.