You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
Fix tests
This commit is contained in:
@@ -130,7 +130,7 @@ class ADCRecordStream:
|
||||
self.max_pending_samples = adc_config.get('max_pending_samples', self.DEFAULT_MAX_PENDING_SAMPLES)
|
||||
|
||||
# PI Controller state
|
||||
self._current_freq = self.sample_rate + self.callback_overhead_offset
|
||||
self._current_freq = self.sample_rate
|
||||
self._sample_counter = 0
|
||||
self._last_adjustment_sample = 0
|
||||
self._integral_error = 0.0
|
||||
|
||||
Reference in New Issue
Block a user