mirror of
https://github.com/google/pebble.git
synced 2025-04-30 07:21:39 -04:00
spelling: occurring
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
9cf1456fff
commit
3f55864a85
4 changed files with 4 additions and 4 deletions
|
@ -138,7 +138,7 @@ void graphics_text_init(void);
|
|||
|
||||
//! 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
|
||||
//! configuration, with clipping occuring automatically.
|
||||
//! configuration, with clipping occurring automatically.
|
||||
//! @param ctx The destination graphics context in which to draw
|
||||
//! @param text The zero terminated UTF-8 string to draw
|
||||
//! @param font The font in which the text should be set
|
||||
|
|
|
@ -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
|
||||
//! height and width of a text layer.
|
||||
//! 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,
|
||||
bool should_cache_layout);
|
||||
|
||||
|
|
|
@ -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
|
||||
//! height and width of a text layer.
|
||||
//! 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);
|
||||
|
||||
//! @internal
|
||||
|
|
|
@ -302,7 +302,7 @@ void accessory_send_byte(uint8_t data) {
|
|||
portENTER_CRITICAL();
|
||||
if (s_send_history.has_data) {
|
||||
// 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;
|
||||
} else {
|
||||
s_send_history.data = data;
|
||||
|
|
Loading…
Add table
Reference in a new issue