Skip to content

Commit

Permalink
Merge pull request #6 from nityc-d-robo/feature/remove-alert
Browse files Browse the repository at this point in the history
remove alert.
  • Loading branch information
sarukiti authored Dec 26, 2024
2 parents ebb0f96 + 4175ea5 commit 38eaa7f
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.DS_Store
/target
Cargo.lock
4 changes: 2 additions & 2 deletions src/md.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ mod tests {
// エラーハンドリング
for i in 0..500 {
println!("{i}");
let return_status = md::send_speed(&handle, 0x00, i).unwrap();
let return_status = md::send_speed(&handle, 0x01, i).unwrap();
let _ = md::send_speed(&handle, 0x00, i).unwrap();
let _ = md::send_speed(&handle, 0x01, i).unwrap();
let return_status = md::send_speed(&handle, 0x02, i).unwrap();
println!("{:?}", return_status);
thread::sleep(Duration::from_millis(100));
Expand Down
2 changes: 1 addition & 1 deletion src/sd.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use std::time::Duration;
use rusb::{constants::{LIBUSB_ENDPOINT_IN, LIBUSB_ENDPOINT_OUT}, DeviceHandle, Error, GlobalContext};
use rusb::{constants:: LIBUSB_ENDPOINT_OUT, DeviceHandle, Error, GlobalContext};

use crate::{IdType, EndPont};

Expand Down
2 changes: 1 addition & 1 deletion src/smd.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use std::time::Duration;
use rusb::{constants::{LIBUSB_ENDPOINT_IN, LIBUSB_ENDPOINT_OUT}, DeviceHandle, Error, GlobalContext};
use rusb::{constants::LIBUSB_ENDPOINT_OUT, DeviceHandle, Error, GlobalContext};

use crate::{IdType, EndPont};

Expand Down
2 changes: 1 addition & 1 deletion src/sr.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use std::time::Duration;
use rusb::{constants::{LIBUSB_ENDPOINT_IN, LIBUSB_ENDPOINT_OUT}, DeviceHandle, Error, GlobalContext};
use rusb::{constants::LIBUSB_ENDPOINT_OUT, DeviceHandle, GlobalContext};

use crate::{IdType, EndPont};

Expand Down

0 comments on commit 38eaa7f

Please sign in to comment.