mirror of
https://github.com/esphome/esphome.git
synced 2026-05-10 05:37:55 +08:00
Comment out the unused pre_shift parameter to avoid strict compilation warnings
This commit is contained in:
@@ -256,7 +256,7 @@ bool RingBufferAudioSource::has_buffered_data() const {
|
||||
(this->ring_buffer_->available() > 0);
|
||||
}
|
||||
|
||||
size_t RingBufferAudioSource::fill(TickType_t ticks_to_wait, bool pre_shift) {
|
||||
size_t RingBufferAudioSource::fill(TickType_t ticks_to_wait, bool /*pre_shift*/) {
|
||||
if (this->current_available_ > 0) {
|
||||
// Caller has not finished consuming the current exposure
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user