You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to pass the obtained 'SerialStream' to 'PORT' in 'match 0', and then pass 'PORT' to 'attach_slave()' in 'match 1'. This way you don’t have to reopen the serial port every time you read.
other
What should I write in 'tauri::async_runtime::Mutex::new()'?
The text was updated successfully, but these errors were encountered:
xiaguangbo
changed the title
How to turn 'xxx' into global static static to save it for reuse
How to turn 'tokio_serial::SerialStream' into global static static to save it for reuse
Sep 28, 2023
xiaguangbo
changed the title
How to turn 'tokio_serial::SerialStream' into global static static to save it for reuse
How to turn 'tokio_serial::SerialStream' into global static to save it for reuse
Sep 28, 2023
main
I want to pass the obtained 'SerialStream' to 'PORT' in 'match 0', and then pass 'PORT' to 'attach_slave()' in 'match 1'. This way you don’t have to reopen the serial port every time you read.
other
What should I write in 'tauri::async_runtime::Mutex::new()'?
The text was updated successfully, but these errors were encountered: