Skip to content

Commit b206180

Browse files
committed
fix: typo raised by codespell
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent ffeebe7 commit b206180

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cores/arduino/stm32/OpenAMP/virtio_buffer.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ uint16_t virtio_buffer_read_available(virtio_buffer_t *ring)
4343
return delta;
4444
}
4545

46-
/* WARNING no protection against race codition (on ring->read_index) when used in interruption */
46+
/* WARNING no protection against race condition (on ring->read_index) when used in interruption */
4747
static uint16_t read(virtio_buffer_t *ring, uint8_t *dst, uint16_t size, bool peek)
4848
{
4949
uint16_t read_index = ring->read_index;
@@ -99,7 +99,7 @@ uint16_t virtio_buffer_write_available(virtio_buffer_t *ring)
9999
return delta;
100100
}
101101

102-
/* WARNING no protection against race codition (on ring->write_index) when used in interruption */
102+
/* WARNING no protection against race condition (on ring->write_index) when used in interruption */
103103
uint16_t virtio_buffer_write(virtio_buffer_t *ring, uint8_t *src, uint16_t size)
104104
{
105105
uint16_t write_index = ring->write_index;

0 commit comments

Comments
 (0)