mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-04 05:20:30 +00:00
lsirq: Restore enumeration of interrupt line
This was broken by changes to `JsonObject::get_deprecated_string`.
This commit is contained in:
parent
6c7ee5344c
commit
e6935cbaaf
Notes:
sideshowbarker
2024-07-17 06:33:00 +09:00
Author: https://github.com/gmta Commit: https://github.com/SerenityOS/serenity/commit/e6935cbaaf Pull-request: https://github.com/SerenityOS/serenity/pull/18883
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ ErrorOr<int> serenity_main(Main::Arguments)
|
|||
json.as_array().for_each([cpu_count](JsonValue const& value) {
|
||||
auto& handler = value.as_object();
|
||||
auto purpose = handler.get_deprecated_string("purpose"sv).value_or({});
|
||||
auto interrupt = handler.get_deprecated_string("interrupt_line"sv).value_or({});
|
||||
auto interrupt = handler.get_u8("interrupt_line"sv).value();
|
||||
auto controller = handler.get_deprecated_string("controller"sv).value_or({});
|
||||
auto call_counts = handler.get_array("per_cpu_call_counts"sv).value();
|
||||
|
||||
|
|
Loading…
Reference in a new issue