correct division through zero error in player_task()

Signed-off-by: Karl Osterseher <karli_o@gmx.at>
This commit is contained in:
Karl Osterseher
2022-12-14 23:14:02 +01:00
Unverified
parent 02206b21fb
commit 83928dccf3
2 changed files with 37 additions and 21 deletions

View File

@@ -1233,6 +1233,15 @@ static void http_get_task(void *pvParameters) {
// need to release mutex
// afterwards for next round
xSemaphoreGive(decoderReadSemaphore);
// ESP_LOGI(
// TAG, "8bit %d, block %d, 32 bit %d, block %d",
// heap_caps_get_free_size(MALLOC_CAP_8BIT),
// heap_caps_get_largest_free_block(MALLOC_CAP_8BIT),
// heap_caps_get_free_size(MALLOC_CAP_32BIT |
// MALLOC_CAP_EXEC),
// heap_caps_get_largest_free_block(MALLOC_CAP_32BIT
// | MALLOC_CAP_EXEC));
#endif
break;