mirror of
https://github.com/esphome/esphome.git
synced 2025-01-01 18:17:46 +01:00
i2s_audio: Set player_task's prio to 1 (#5945)
This commit is contained in:
parent
2309f15ce0
commit
168e704130
@ -29,7 +29,7 @@ void I2SAudioSpeaker::start_() {
|
|||||||
}
|
}
|
||||||
this->state_ = speaker::STATE_RUNNING;
|
this->state_ = speaker::STATE_RUNNING;
|
||||||
|
|
||||||
xTaskCreate(I2SAudioSpeaker::player_task, "speaker_task", 8192, (void *) this, 0, &this->player_task_handle_);
|
xTaskCreate(I2SAudioSpeaker::player_task, "speaker_task", 8192, (void *) this, 1, &this->player_task_handle_);
|
||||||
}
|
}
|
||||||
|
|
||||||
void I2SAudioSpeaker::player_task(void *params) {
|
void I2SAudioSpeaker::player_task(void *params) {
|
||||||
|
Loading…
Reference in New Issue
Block a user