Loading...
Searching...
No Matches
goals.h
Go to the documentation of this file.
1
16#pragma once
17#include <stdint.h>
18
23
24#define GOALS_STEPS_COUNT 7
25#define GOALS_DISTANCE_COUNT 7
26#define GOALS_CALORIES_COUNT 6
27#define GOALS_ACTIVE_COUNT 5
28#define GOALS_SLEEP_COUNT 5
29#define GOALS_HR_COUNT 6
30
37int goals_steps(uint8_t index);
38
48int goals_distance_m(uint8_t index);
49
56int goals_calories(uint8_t index);
57
64int goals_active_min(uint8_t index);
65
74int goals_sleep_min(uint8_t index);
75
82int goals_hr_limit(uint8_t index);
83
int goals_active_min(uint8_t index)
The active minutes goal for a menu choice.
Definition goals.c:59
int goals_sleep_min(uint8_t index)
The sleep goal for a menu choice, in minutes.
Definition goals.c:64
int goals_steps(uint8_t index)
The step goal for a menu choice.
Definition goals.c:44
int goals_distance_m(uint8_t index)
The distance goal for a menu choice, in metres.
Definition goals.c:49
int goals_calories(uint8_t index)
The active calorie goal for a menu choice.
Definition goals.c:54
int goals_hr_limit(uint8_t index)
The heart rate limit for a menu choice, the top of a heart rate bar.
Definition goals.c:69