mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2025-01-06 18:37:43 +01:00
key should be string not data
Signed-off-by: SergeySlice <sergey.slice@gmail.com>
This commit is contained in:
parent
d296bfa767
commit
bd0ad5dfa6
@ -975,7 +975,7 @@ SetDevices (LOADER_ENTRY *Entry)
|
|||||||
devprop_add_value(device, Prop2.Key.c_str(), gSettings.Graphics.EDID.CustomEDID.data(), 128);
|
devprop_add_value(device, Prop2.Key.c_str(), gSettings.Graphics.EDID.CustomEDID.data(), 128);
|
||||||
DBG(" Add key=%s from custom EDID\n", Prop2.Key.c_str());
|
DBG(" Add key=%s from custom EDID\n", Prop2.Key.c_str());
|
||||||
} else {
|
} else {
|
||||||
devprop_add_value(device, Prop2.Key, Prop2.Value);
|
devprop_add_value(device, Prop2.Key.c_str(), Prop2.Value.data(), Prop2.Value.size());
|
||||||
DBG(" Add key=%s valuelen=%zu\n", Prop2.Key.c_str(), Prop2.Value.size());
|
DBG(" Add key=%s valuelen=%zu\n", Prop2.Key.c_str(), Prop2.Value.size());
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
|
Loading…
Reference in New Issue
Block a user