mirror of
https://github.com/esphome/esphome.git
synced 2026-06-01 17:57:37 +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);
|
(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) {
|
if (this->current_available_ > 0) {
|
||||||
// Caller has not finished consuming the current exposure
|
// Caller has not finished consuming the current exposure
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user