mirror of
https://github.com/google/pebble.git
synced 2025-05-01 07:41:41 -04:00
spelling: semaphore
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
acad6e8efa
commit
b33c3a748e
2 changed files with 3 additions and 3 deletions
|
@ -375,7 +375,7 @@ void flash_read_bytes(uint8_t* buffer, uint32_t start_addr, uint32_t buffer_size
|
||||||
flash_send_24b_address(start_addr);
|
flash_send_24b_address(start_addr);
|
||||||
|
|
||||||
// There is delay associated with setting up the stm32 dma, using FreeRTOS
|
// There is delay associated with setting up the stm32 dma, using FreeRTOS
|
||||||
// sempahores, handling ISRs, etc. Thus for short reads, the cost of using
|
// semaphores, handling ISRs, etc. Thus for short reads, the cost of using
|
||||||
// DMA is far more expensive than the read being performed. Reads greater
|
// DMA is far more expensive than the read being performed. Reads greater
|
||||||
// than 34 was empirically determined to be the point at which using the DMA
|
// than 34 was empirically determined to be the point at which using the DMA
|
||||||
// engine is advantageous
|
// engine is advantageous
|
||||||
|
|
|
@ -40,8 +40,8 @@ typedef struct TaskTimerManager {
|
||||||
|
|
||||||
|
|
||||||
//! Initialize a passed in manager object.
|
//! Initialize a passed in manager object.
|
||||||
//! @param[in] semaphore a sempahore the TaskTimerManager should give if the next expiring timer
|
//! @param[in] semaphore a semaphore the TaskTimerManager should give if the next expiring timer
|
||||||
//! has changed. The task event loop should block on this same semphore to
|
//! has changed. The task event loop should block on this same semaphore to
|
||||||
//! handle timer updates in a timely fashion.
|
//! handle timer updates in a timely fashion.
|
||||||
void task_timer_manager_init(TaskTimerManager *manager, SemaphoreHandle_t semaphore);
|
void task_timer_manager_init(TaskTimerManager *manager, SemaphoreHandle_t semaphore);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue