Skip to content

Commit

Permalink
Revert "use boxed error"
Browse files Browse the repository at this point in the history
This reverts commit 73da3a0.
  • Loading branch information
robmorgan committed Dec 30, 2024
1 parent 73da3a0 commit 9db5184
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/console.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ use crossterm::{
};
use midir::{MidiInput, MidiInputConnection, MidiOutput, MidiOutputConnection};
use std::collections::HashMap;
use std::error::Error;
use std::io::{stdout, Read, Write};
use std::net::IpAddr;
use std::net::SocketAddr;
Expand Down Expand Up @@ -182,7 +181,7 @@ impl LightingConsole {
self.cues.push(cue);
}

pub fn init_mpk49_midi(&mut self) -> Result<(), Box<dyn Error>> {
pub fn init_mpk49_midi(&mut self) -> anyhow::Result<()> {
let midi_in = MidiInput::new("halo_controller")?;
let midi_out = MidiOutput::new("halo_controller")?;

Expand Down

0 comments on commit 9db5184

Please sign in to comment.