mirror of
https://github.com/google/pebble.git
synced 2025-04-30 07:21:39 -04:00
spelling: version
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
c1e8ef32bd
commit
0098e27ba5
3 changed files with 4 additions and 4 deletions
|
@ -310,7 +310,7 @@ static SettingsFile *prv_settings_migrate(SettingsFile *file, uint16_t *written_
|
||||||
return file;
|
return file;
|
||||||
}
|
}
|
||||||
|
|
||||||
PBL_LOG(LOG_LEVEL_INFO, "Performing settings file migration from verison %"PRIu16"", version);
|
PBL_LOG(LOG_LEVEL_INFO, "Performing settings file migration from version %"PRIu16"", version);
|
||||||
|
|
||||||
// Perform migration
|
// Perform migration
|
||||||
if (version == 1) {
|
if (version == 1) {
|
||||||
|
@ -322,7 +322,7 @@ static SettingsFile *prv_settings_migrate(SettingsFile *file, uint16_t *written_
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// If the version is totally unexpected, remove the file and create a new one
|
// If the version is totally unexpected, remove the file and create a new one
|
||||||
PBL_LOG(LOG_LEVEL_ERROR, "Unknown settings file verison %"PRIu16"", version);
|
PBL_LOG(LOG_LEVEL_ERROR, "Unknown settings file version %"PRIu16"", version);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (result != S_SUCCESS) {
|
if (result != S_SUCCESS) {
|
||||||
|
|
|
@ -90,7 +90,7 @@ class ELFFileHeader(ELFObjectBase):
|
||||||
assert(self.elf_class == self.CLASS_32_BIT)
|
assert(self.elf_class == self.CLASS_32_BIT)
|
||||||
# we only support little-endian files
|
# we only support little-endian files
|
||||||
assert(self.data == self.DATA_2_LSB)
|
assert(self.data == self.DATA_2_LSB)
|
||||||
# current ELF verison
|
# current ELF version
|
||||||
assert(self.version == self.VERSION)
|
assert(self.version == self.VERSION)
|
||||||
assert(self.osabi == self.OS_ABI)
|
assert(self.osabi == self.OS_ABI)
|
||||||
assert(self.abi_version == self.ABI_VERSION)
|
assert(self.abi_version == self.ABI_VERSION)
|
||||||
|
|
|
@ -414,7 +414,7 @@ def cmd_firmware(args):
|
||||||
make_firmware_bundle(**vars(args))
|
make_firmware_bundle(**vars(args))
|
||||||
|
|
||||||
def cmd_watchapp(args):
|
def cmd_watchapp(args):
|
||||||
args.sdk_verison = dict(zip(['major', 'minor'], [int(x) for x in args.sdk_version.split('.')]))
|
args.sdk_version = dict(zip(['major', 'minor'], [int(x) for x in args.sdk_version.split('.')]))
|
||||||
|
|
||||||
make_watchapp_bundle(**vars(args))
|
make_watchapp_bundle(**vars(args))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue