mirror of
https://github.com/google/pebble
synced 2026-10-13 23:34:12 +02:00
@@ -53,7 +53,7 @@ static void * prv_offset_to_address(MemorySegment *segment, size_t offset) {
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------------------------
|
||||
static bool prv_intialize_sdk_process(PebbleTask task, const PebbleProcessInfo *info,
|
||||
static bool prv_initialize_sdk_process(PebbleTask task, const PebbleProcessInfo *info,
|
||||
MemorySegment *destination) {
|
||||
if (!prv_verify_checksum(info, destination->start)) {
|
||||
PBL_LOG(LOG_LEVEL_DEBUG, "Calculated CRC does not match, aborting...");
|
||||
@@ -128,7 +128,7 @@ static bool prv_load_from_flash(const PebbleProcessMd *app_md, PebbleTask task,
|
||||
}
|
||||
pfs_close(fd);
|
||||
|
||||
return prv_intialize_sdk_process(task, &info, destination);
|
||||
return prv_initialize_sdk_process(task, &info, destination);
|
||||
}
|
||||
|
||||
// ----------------------------------------------------------------------------------------------
|
||||
@@ -156,7 +156,7 @@ static bool prv_load_from_resource(const PebbleProcessMdResource *app_md,
|
||||
destination->start, load_size) == load_size);
|
||||
|
||||
// Process the relocation entries
|
||||
return prv_intialize_sdk_process(task, &info, destination);
|
||||
return prv_initialize_sdk_process(task, &info, destination);
|
||||
}
|
||||
|
||||
void * process_loader_load(const PebbleProcessMd *app_md, PebbleTask task,
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
//! Call this as you're just entering manufacturing mode to do initalial setup.
|
||||
//! Call this as you're just entering manufacturing mode to do initial setup.
|
||||
void accessory_mfg_mode_start(void);
|
||||
|
||||
//! Called on an ISR to handle a character from the accessory connector.
|
||||
|
||||
Reference in New Issue
Block a user