mirror of
https://github.com/google/pebble.git
synced 2025-05-01 07:41:41 -04:00
spelling: pathological
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
d98fd94906
commit
52580daf82
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ static status_t prv_open(SettingsFile *file, const char *name, uint8_t flags, in
|
||||||
// max_space_total == max_used_space, then if the file is full, changing a
|
// max_space_total == max_used_space, then if the file is full, changing a
|
||||||
// single value would force the whole file to be rewritten- every single
|
// single value would force the whole file to be rewritten- every single
|
||||||
// time! It's probably worth it to "waste" a bit of flash space to avoid
|
// time! It's probably worth it to "waste" a bit of flash space to avoid
|
||||||
// this pathalogical case.
|
// this pathological case.
|
||||||
int max_space_total = pfs_sector_optimal_size(max_used_space * 12 / 10, strlen(name));
|
int max_space_total = pfs_sector_optimal_size(max_used_space * 12 / 10, strlen(name));
|
||||||
|
|
||||||
// TODO: Dynamically sized files?
|
// TODO: Dynamically sized files?
|
||||||
|
|
Loading…
Add table
Reference in a new issue