From b33c3a748eb36c03c36e48d3e0c1d95f1a0b4bc2 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 28 Jan 2025 15:38:59 -0500 Subject: [PATCH] spelling: semaphore Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/fw/drivers/flash/micron_n25q/flash.c | 2 +- src/fw/kernel/task_timer_manager.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/fw/drivers/flash/micron_n25q/flash.c b/src/fw/drivers/flash/micron_n25q/flash.c index b3120662..faf1676a 100644 --- a/src/fw/drivers/flash/micron_n25q/flash.c +++ b/src/fw/drivers/flash/micron_n25q/flash.c @@ -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); // 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 // than 34 was empirically determined to be the point at which using the DMA // engine is advantageous diff --git a/src/fw/kernel/task_timer_manager.h b/src/fw/kernel/task_timer_manager.h index 6c68218b..9bad41b9 100644 --- a/src/fw/kernel/task_timer_manager.h +++ b/src/fw/kernel/task_timer_manager.h @@ -40,8 +40,8 @@ typedef struct TaskTimerManager { //! Initialize a passed in manager object. -//! @param[in] semaphore a sempahore the TaskTimerManager should give if the next expiring timer -//! has changed. The task event loop should block on this same semphore to +//! @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 semaphore to //! handle timer updates in a timely fashion. void task_timer_manager_init(TaskTimerManager *manager, SemaphoreHandle_t semaphore);