chore: add info about stick zeroing
All checks were successful
Code quality / check (pull_request) Successful in 3m45s
All checks were successful
Code quality / check (pull_request) Successful in 3m45s
This commit is contained in:
parent
e12666cf50
commit
6c4c89b222
1 changed files with 4 additions and 1 deletions
|
@ -551,7 +551,10 @@ pub async fn update_stick_states_task(
|
|||
spi_acs: Output<'static>,
|
||||
spi_ccs: Output<'static>,
|
||||
) {
|
||||
Timer::after_secs(3).await;
|
||||
// let some time pass before accepting stick inputs
|
||||
// to ensure sticks are properly zeroed
|
||||
Timer::after_secs(2).await;
|
||||
|
||||
*SPI_SHARED.lock().await = Some(spi);
|
||||
*SPI_ACS_SHARED.lock().await = Some(spi_acs);
|
||||
*SPI_CCS_SHARED.lock().await = Some(spi_ccs);
|
||||
|
|
Loading…
Reference in a new issue