mirror of
https://github.com/G2-Games/minidisc-cli.git
synced 2025-04-19 03:32:53 -05:00
Fix cross-thread error sending
This commit is contained in:
parent
79844cdb57
commit
1d205dc012
1 changed files with 2 additions and 2 deletions
|
@ -585,11 +585,11 @@ impl NetMDInterface {
|
|||
}
|
||||
|
||||
pub async fn playback_status1(&mut self) -> Result<Vec<u8>, Box<dyn Error>> {
|
||||
self.playback_status_query(0x8801, 0x8807).await
|
||||
Ok(self.playback_status_query(0x8801, 0x8807).await?)
|
||||
}
|
||||
|
||||
pub async fn playback_status2(&mut self) -> Result<Vec<u8>, Box<dyn Error>> {
|
||||
self.playback_status_query(0x8802, 0x8806).await
|
||||
Ok(self.playback_status_query(0x8802, 0x8806).await?)
|
||||
}
|
||||
|
||||
/// Get the current playback position
|
||||
|
|
Loading…
Reference in a new issue