mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-31 00:24:51 +00:00
Don't abort when reading config in OMAP4 fb driver
Just use configuration values when existent, otherwise when no configuration is given use the default values. When an incomplete configuration is given, take the supplied ones, and for the rest the default ones. Fix #762
This commit is contained in:
parent
37856a0ad0
commit
125d55ce71
@ -109,11 +109,7 @@ int main(int, char **)
|
||||
output = Driver::OUTPUT_LCD;
|
||||
}
|
||||
}
|
||||
catch (Genode::Xml_node::Nonexistent_attribute) {
|
||||
PERR("incorrect configuration, aborting");
|
||||
throw Root::Invalid_args();
|
||||
}
|
||||
catch (Genode::Xml_node::Nonexistent_sub_node) {
|
||||
catch (...) {
|
||||
PDBG("using default configuration: HDMI@%dx%d", width, height);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user