mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-01 02:28:28 +02:00
Update i2s_audio_speaker.cppi2s_audio/speaker: Fix fallthrough compiler warning (#7167)
This commit is contained in:
@@ -233,6 +233,7 @@ void I2SAudioSpeaker::loop() {
|
|||||||
switch (this->state_) {
|
switch (this->state_) {
|
||||||
case speaker::STATE_STARTING:
|
case speaker::STATE_STARTING:
|
||||||
this->start_();
|
this->start_();
|
||||||
|
[[fallthrough]];
|
||||||
case speaker::STATE_RUNNING:
|
case speaker::STATE_RUNNING:
|
||||||
case speaker::STATE_STOPPING:
|
case speaker::STATE_STOPPING:
|
||||||
this->watch_();
|
this->watch_();
|
||||||
|
|||||||
Reference in New Issue
Block a user