mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 01:07:45 +01:00
Update i2s_audio_speaker.cppi2s_audio/speaker: Fix fallthrough compiler warning (#7167)
This commit is contained in:
parent
9188836f70
commit
455df35e50
1 changed files with 1 additions and 0 deletions
|
@ -233,6 +233,7 @@ void I2SAudioSpeaker::loop() {
|
|||
switch (this->state_) {
|
||||
case speaker::STATE_STARTING:
|
||||
this->start_();
|
||||
[[fallthrough]];
|
||||
case speaker::STATE_RUNNING:
|
||||
case speaker::STATE_STOPPING:
|
||||
this->watch_();
|
||||
|
|
Loading…
Reference in a new issue