FreeRTOS type updates. (#261)
This commit is contained in:
parent
4c84b64566
commit
a5cc728079
53 changed files with 151 additions and 148 deletions
|
|
@ -57,7 +57,7 @@ static dma_descriptor_t dma_block_list[DMA_QUEUE_SIZE];
|
|||
static uint8_t dma_buffer[DMA_QUEUE_SIZE][DMA_BUFFER_SIZE];
|
||||
|
||||
// Queue of empty DMA blocks
|
||||
static xQueueHandle dma_queue;
|
||||
static QueueHandle_t dma_queue;
|
||||
|
||||
/**
|
||||
* Create a circular list of DMA descriptors
|
||||
|
|
@ -183,7 +183,7 @@ void play_task(void *pvParameters)
|
|||
|
||||
printf("underrun counter: %d\n", underrun_counter);
|
||||
|
||||
vTaskDelay(1000 / portTICK_RATE_MS);
|
||||
vTaskDelay(1000 / portTICK_PERIOD_MS);
|
||||
}
|
||||
|
||||
close(fd);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue