Skip to content

Commit ff4c66e

Browse files
committed
Fix to build with new API crate.
1 parent 88b631b commit ff4c66e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ fn cmd_lshw(_menu: &menu::Menu<Ctx>, _item: &menu::Item<Ctx>, _args: &[&str], _c
386386

387387
println!("Audio Mixers:");
388388
for dev_idx in 0..=255u8 {
389-
if let bios::Result::Ok(device_info) = (api.audio_mixer_channel_get_info)(dev_idx) {
389+
if let bios::Option::Some(device_info) = (api.audio_mixer_channel_get_info)(dev_idx) {
390390
println!(" {}: {:?}", dev_idx, device_info);
391391
found = true;
392392
}

0 commit comments

Comments
 (0)