mirror of
https://github.com/esphome/esphome.git
synced 2024-11-22 15:08:10 +01:00
i2s_audio: Set player_task's prio to 1 (#5945)
This commit is contained in:
parent
2309f15ce0
commit
168e704130
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue