Another refactor
This commit is contained in:
@@ -50,10 +50,7 @@ pub async fn start_card_reader(
|
||||
loop {
|
||||
Timer::after_millis(50).await;
|
||||
let Some(response) = (match card_reader.driver.felica_polling(
|
||||
None,
|
||||
BaudRate::Felica212kbps,
|
||||
FelicaPollingRequestCode::SystemCode,
|
||||
core::time::Duration::from_secs(1),
|
||||
Default::default()
|
||||
) {
|
||||
Ok(v) => v,
|
||||
Err(e) => {
|
||||
|
||||
Reference in New Issue
Block a user