mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 19:12:43 +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
					
				
					 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…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jelle Raaijmakers
						Jelle Raaijmakers