mirror of
https://github.com/google/pebble.git
synced 2025-04-30 07:21:39 -04:00
spelling: vertical
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
0098e27ba5
commit
159e6cc255
2 changed files with 3 additions and 3 deletions
|
@ -175,7 +175,7 @@ static void prv_draw_progress_bar_in_zone(GContext *ctx, const GRect *zone_rect,
|
||||||
|
|
||||||
HealthProgressSegment segments[] = {
|
HealthProgressSegment segments[] = {
|
||||||
{
|
{
|
||||||
// Left side vertical line (needed for the draw outline function to draw the verticle lines)
|
// Left side vertical line (needed for the draw outline function to draw the vertical lines)
|
||||||
.type = HealthProgressSegmentType_Corner,
|
.type = HealthProgressSegmentType_Corner,
|
||||||
.points = {
|
.points = {
|
||||||
{progress_bar_x, progress_bar_y},
|
{progress_bar_x, progress_bar_y},
|
||||||
|
@ -185,7 +185,7 @@ static void prv_draw_progress_bar_in_zone(GContext *ctx, const GRect *zone_rect,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// Right side vertical line (needed for the draw outline function to draw the verticle lines)
|
// Right side vertical line (needed for the draw outline function to draw the vertical lines)
|
||||||
.type = HealthProgressSegmentType_Corner,
|
.type = HealthProgressSegmentType_Corner,
|
||||||
.points = {
|
.points = {
|
||||||
{progress_bar_x + progress_bar_width, progress_bar_y},
|
{progress_bar_x + progress_bar_width, progress_bar_y},
|
||||||
|
|
|
@ -161,7 +161,7 @@ static int32_t prv_correct_for_roll_and_pitch(AccelRawData *accel_data,
|
||||||
|
|
||||||
int32_t mx_rot, my_rot;
|
int32_t mx_rot, my_rot;
|
||||||
|
|
||||||
// per freescale AN4249, roll is unstable close to verticle but pitch is ok
|
// per freescale AN4249, roll is unstable close to vertical but pitch is ok
|
||||||
int32_t corr = 0;
|
int32_t corr = 0;
|
||||||
if (TRIGANGLE_TO_DEG(pitch) > 82) {
|
if (TRIGANGLE_TO_DEG(pitch) > 82) {
|
||||||
pitch = TRIG_MAX_ANGLE / 4;
|
pitch = TRIG_MAX_ANGLE / 4;
|
||||||
|
|
Loading…
Add table
Reference in a new issue