Skip to content

Commit c86fc28

Browse files
committed
Cleanup, typos
1 parent 2faf095 commit c86fc28

3 files changed

Lines changed: 3 additions & 5 deletions

File tree

.github/scripts/linux_dep.sh

Lines changed: 0 additions & 2 deletions
This file was deleted.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,10 @@ A Rust-based BLE Heart Rate Monitor bridge for OSC in Social VR, and other misce
4141
host_ip = "0.0.0.0"
4242
target_ip = "127.0.0.1"
4343
port = 9000
44-
# Duration that MS `param_beat_pulse` will be true for each "beat"
44+
# Duration in MS that `param_beat_pulse` will be true for each "beat"
4545
pulse_length_ms = 100
4646
only_positive_float_bpm = false
47-
# While it tries to reconnect, it will keep the bool true and jitter the value slightly to mimic a connection.
47+
# If app loses connection to sensor, it will keep the Connected bool true and jitter the value slightly to mimic a connection.
4848
hide_disconnections = false
4949
max_hide_disconnection_sec = 60
5050
address_prefix = "/avatar/parameters/"

src/app.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ use tokio::sync::{
1313
mpsc::{self, UnboundedReceiver, UnboundedSender},
1414
Mutex,
1515
};
16+
use tokio::time::timeout;
1617
use tokio_util::sync::CancellationToken;
1718

1819
use crate::heart_rate_dummy::start_dummy_thread;
@@ -275,7 +276,6 @@ impl App {
275276
}
276277

277278
pub async fn join_threads(&mut self) {
278-
use tokio::time::{timeout, Duration};
279279
let duration = Duration::from_secs(3);
280280
info!("Sending shutdown signal to threads!");
281281
self.shutdown_requested.cancel();

0 commit comments

Comments
 (0)