Query full report more frequently
This commit is contained in:
@@ -36,7 +36,7 @@ fn main() {
|
||||
std::thread::sleep(refresh_interval);
|
||||
// with the default refresh_interval the state is only actively queried every 3min
|
||||
// querying the device to frequently can lead to instability
|
||||
match if run_counter % 60 == 0 {
|
||||
match if run_counter % 30 == 0 {
|
||||
device.active_refresh_state()
|
||||
} else {
|
||||
device.passive_refresh_state()
|
||||
|
||||
Reference in New Issue
Block a user