spelling: occurring

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2025-01-28 15:17:37 -05:00
parent 9cf1456fff
commit 3f55864a85
4 changed files with 4 additions and 4 deletions

View file

@ -138,7 +138,7 @@ void graphics_text_init(void);
//! Draw text into the current graphics context, using the context's current text color. //! Draw text into the current graphics context, using the context's current text color.
//! The text will be drawn inside a box with the specified dimensions and //! The text will be drawn inside a box with the specified dimensions and
//! configuration, with clipping occuring automatically. //! configuration, with clipping occurring automatically.
//! @param ctx The destination graphics context in which to draw //! @param ctx The destination graphics context in which to draw
//! @param text The zero terminated UTF-8 string to draw //! @param text The zero terminated UTF-8 string to draw
//! @param font The font in which the text should be set //! @param font The font in which the text should be set

View file

@ -161,7 +161,7 @@ void text_layer_legacy2_set_text_alignment(TextLayerLegacy2 *text_layer,
//! By default, layout caching is off (false). Layout caches store the max used //! By default, layout caching is off (false). Layout caches store the max used
//! height and width of a text layer. //! height and width of a text layer.
//! NOTE: when using cached layouts, text_layer_legacy2_deinit() MUST be called at some //! NOTE: when using cached layouts, text_layer_legacy2_deinit() MUST be called at some
//! point in time to prevent memory leaks from occuring. //! point in time to prevent memory leaks from occurring.
void text_layer_legacy2_set_should_cache_layout(TextLayerLegacy2 *text_layer, void text_layer_legacy2_set_should_cache_layout(TextLayerLegacy2 *text_layer,
bool should_cache_layout); bool should_cache_layout);

View file

@ -158,7 +158,7 @@ void text_layer_set_text_alignment(TextLayer *text_layer, GTextAlignment text_al
//! By default, layout caching is off (false). Layout caches store the max used //! By default, layout caching is off (false). Layout caches store the max used
//! height and width of a text layer. //! height and width of a text layer.
//! NOTE: when using cached layouts, text_layer_deinit() MUST be called at some //! NOTE: when using cached layouts, text_layer_deinit() MUST be called at some
//! point in time to prevent memory leaks from occuring. //! point in time to prevent memory leaks from occurring.
void text_layer_set_should_cache_layout(TextLayer *text_layer, bool should_cache_layout); void text_layer_set_should_cache_layout(TextLayer *text_layer, bool should_cache_layout);
//! @internal //! @internal

View file

@ -302,7 +302,7 @@ void accessory_send_byte(uint8_t data) {
portENTER_CRITICAL(); portENTER_CRITICAL();
if (s_send_history.has_data) { if (s_send_history.has_data) {
// The send buffer is full. This means that the receive interrupt hasn't fired to clear the // The send buffer is full. This means that the receive interrupt hasn't fired to clear the
// buffer which indicates that there is bus contention preventing a stop bit from occuring. // buffer which indicates that there is bus contention preventing a stop bit from occurring.
s_bus_contention_detected = true; s_bus_contention_detected = true;
} else { } else {
s_send_history.data = data; s_send_history.data = data;