mirror of
https://github.com/google/pebble.git
synced 2025-04-24 05:27:07 -04:00
spelling: than
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
5cb061cff5
commit
9077267ceb
4 changed files with 6 additions and 6 deletions
|
@ -490,7 +490,7 @@ typedef struct {
|
|||
//! exit, the UTC time of the end of the last record actually returned (i.e. start time of last
|
||||
//! record + 60). If `time_end` on entry is somewhere in the middle of a minute interval, this
|
||||
//! function behaves as if the caller passed in the end of that minute.
|
||||
//! @return Actual number of records returned. May be less then the maximum requested.
|
||||
//! @return Actual number of records returned. May be less than the maximum requested.
|
||||
//! @note If the return value is zero, `time_start` and `time_end` are meaningless.
|
||||
//! It's not guaranteed that all records contain valid data, even if the return value is
|
||||
//! greater than zero. Check `HealthMinuteData.is_invalid` to see if a given record contains
|
||||
|
|
|
@ -105,7 +105,7 @@ uint32_t activity_private_compute_distance_mm(uint32_t steps, uint32_t ms) {
|
|||
// active_ml = 0.2 * speed_m_per_min * minutes * weight_kg
|
||||
//
|
||||
// Converting to calories (5.01 calories per ml) and plugging in distance for speed * time, we get
|
||||
// the following. We will define walking as less then 4.5MPH (120 meters/minute)
|
||||
// the following. We will define walking as less than 4.5MPH (120 meters/minute)
|
||||
// for walking:
|
||||
// active_cal = 0.1 * distance_m * weight_kg * 5.01
|
||||
// = 0.501 * distance_m * weight_kg
|
||||
|
|
|
@ -236,7 +236,7 @@ void test_flash_erase__96k_app_banks_1(void) {
|
|||
}
|
||||
|
||||
void test_flash_erase__96k_app_banks_2(void) {
|
||||
// App that's in an aligned bank but larger than than 64k
|
||||
// App that's in an aligned bank but larger than 64k
|
||||
prv_test_erase_optimal_range(
|
||||
0, 0, 69 * 1024, 96 * 1024,
|
||||
(EraseCommand[]) {
|
||||
|
@ -262,7 +262,7 @@ void test_flash_erase__96k_app_banks_3(void) {
|
|||
}
|
||||
|
||||
void test_flash_erase__96k_app_banks_4(void) {
|
||||
// App that's in an unaligned bank but larger than than 64k
|
||||
// App that's in an unaligned bank but larger than 64k
|
||||
prv_test_erase_optimal_range(
|
||||
32 * 1024, 32 * 1024, (32 + 71) * 1024, (32 + 96) * 1024,
|
||||
(EraseCommand[]) {
|
||||
|
|
|
@ -148,7 +148,7 @@ void test_flash_region__erase_optimal_range_96k_app_banks(void) {
|
|||
|
||||
s_command_list_index = 0;
|
||||
|
||||
// App that's in an aligned bank but larger than than 64k
|
||||
// App that's in an aligned bank but larger than 64k
|
||||
flash_region_erase_optimal_range(0, 0, 69 * 1024, 96 * 1024);
|
||||
|
||||
cl_assert_equal_i(s_command_list_index, 3);
|
||||
|
@ -185,7 +185,7 @@ void test_flash_region__erase_optimal_range_96k_app_banks(void) {
|
|||
|
||||
s_command_list_index = 0;
|
||||
|
||||
// App that's in an unaligned bank but larger than than 64k
|
||||
// App that's in an unaligned bank but larger than 64k
|
||||
flash_region_erase_optimal_range(32 * 1024, 32 * 1024, (32 + 71) * 1024, (32 + 96) * 1024);
|
||||
|
||||
cl_assert_equal_i(s_command_list_index, 9);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue