i2s_audio: Set player_task's prio to 1 (#5945)

This commit is contained in:
Alex Hermann 2023-12-18 00:58:13 +01:00 committed by GitHub
parent 003d8b0cf5
commit 8a23b7e0c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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) {