spelling: because

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2025-01-28 12:48:41 -05:00
parent 7bccc39af7
commit 4c1819019d
3 changed files with 5 additions and 5 deletions

View file

@ -110,7 +110,7 @@ void prv_update_proc(Layer *layer, GContext* ctx) {
graphics_context_set_fill_color(ctx, GColorWhite);
graphics_fill_rect(ctx, &layer->bounds);
// This is safe becase Layer is the first member in Window and Window is the first member in
// This is safe because Layer is the first member in Window and Window is the first member in
// NumberWindow.
_Static_assert(offsetof(Window, layer) == 0, "");
_Static_assert(offsetof(NumberWindow, window) == 0, "");

View file

@ -74,7 +74,7 @@ static void prv_send_all_sessions_system_task_cb(void *empty_all_data) {
static void prv_check_all_sessions_timer_cb(void *data) {
// If sends are not enabled, do nothing
if (!prv_sends_enabled()) {
PBL_LOG(LOG_LEVEL_INFO, "Not sending sessions beause sending is disabled");
PBL_LOG(LOG_LEVEL_INFO, "Not sending sessions because sending is disabled");
return;
}
@ -125,7 +125,7 @@ bool dls_private_send_session(DataLoggingSession *logging_session, bool empty) {
// If sends are not enabled, ignore
if (!prv_sends_enabled()) {
PBL_LOG(LOG_LEVEL_INFO, "Not sending session beause sending is disabled");
PBL_LOG(LOG_LEVEL_INFO, "Not sending session because sending is disabled");
return true;
}
@ -288,7 +288,7 @@ static bool prv_inactivate_sessions_each_cb(DataLoggingSession *session, void *d
void dls_send_all_sessions(void) {
// If sends are not enabled, do nothing
if (!prv_sends_enabled()) {
PBL_LOG(LOG_LEVEL_INFO, "Not sending sessions beause sending is disabled");
PBL_LOG(LOG_LEVEL_INFO, "Not sending sessions because sending is disabled");
return;
}
system_task_add_callback(prv_send_all_sessions_system_task_cb, (void*) true);

View file

@ -757,7 +757,7 @@ static status_t find_free_page(uint16_t *free_page, bool use_gc_allocator,
//! Note: expects that the caller does _not_ hold the pfs mutex
//! Note: If pages are already pre-erased on the FS, this routine will return
//! very quickly. If we need to do erases, it will take longer becauses this
//! very quickly. If we need to do erases, it will take longer because this
//! operation can take seconds to complete on certain flash parts
//!
//! @param file_size - The amount of file space to erase