mirror of
https://github.com/google/pebble.git
synced 2025-04-30 23:31:40 -04:00
spelling: exceed
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
fa4eee1991
commit
ed0bfa91da
1 changed files with 2 additions and 2 deletions
|
@ -1793,10 +1793,10 @@ static uint16_t prv_step_avg_slot(int hour, int min) {
|
||||||
// feed in for the given 15-minute time slot
|
// feed in for the given 15-minute time slot
|
||||||
int prv_expected_steps_per_min(int slot, int multiplier) {
|
int prv_expected_steps_per_min(int slot, int multiplier) {
|
||||||
if (multiplier == 1) {
|
if (multiplier == 1) {
|
||||||
// The slot % 50 was chosen so that the total # of steps per day does not exceeed 2^16
|
// The slot % 50 was chosen so that the total # of steps per day does not exceed 2^16
|
||||||
return ((slot % 50) + 1);
|
return ((slot % 50) + 1);
|
||||||
} else if (multiplier == 2) {
|
} else if (multiplier == 2) {
|
||||||
// The slot % 30 was chosen so that the total # of steps per day does not exceeed 2^16
|
// The slot % 30 was chosen so that the total # of steps per day does not exceed 2^16
|
||||||
return 2 * ((slot % 30) + 1);
|
return 2 * ((slot % 30) + 1);
|
||||||
} else {
|
} else {
|
||||||
cl_assert(false);
|
cl_assert(false);
|
||||||
|
|
Loading…
Add table
Reference in a new issue