feat(config): implement rest of config / calibration options
This commit is contained in:
957
src/config.rs
957
src/config.rs
File diff suppressed because it is too large
Load Diff
@@ -366,7 +366,7 @@ pub async fn usb_transfer_task(
|
||||
let currtime = Instant::now();
|
||||
let polltime = currtime.duration_since(lasttime);
|
||||
let micros = polltime.as_micros();
|
||||
debug!("Report written in {}us", micros);
|
||||
trace!("Report written in {}us", micros);
|
||||
// If we're sending reports too fast, reset the ticker.
|
||||
// This might happen right after plug-in, or after suspend.
|
||||
if micros < 8150 {
|
||||
|
||||
@@ -32,7 +32,7 @@ use crate::{
|
||||
};
|
||||
|
||||
/// Used to send the button state to the usb task and the calibration task
|
||||
pub static CHANNEL_GCC_STATE: PubSubChannel<CriticalSectionRawMutex, GcReport, 1, 3, 1> =
|
||||
pub static CHANNEL_GCC_STATE: PubSubChannel<CriticalSectionRawMutex, GcReport, 1, 4, 1> =
|
||||
PubSubChannel::new();
|
||||
|
||||
/// Used to send the stick state from the stick task to the main input task
|
||||
|
||||
Reference in New Issue
Block a user