Skip to content

Commit

Permalink
fancy hour hand pos bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zalewszczak committed Apr 24, 2013
1 parent 60a9d12 commit d887657
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion fancy/src/fancy.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const GPathInfo HOUR_HAND_PATH_POINTS = {
(GPoint []) {
{-7, 15},
{7, 15},
{7, -45},
{0, -45},
}
};

Expand Down
6 changes: 3 additions & 3 deletions fancy/src/fancy.c~
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ HOUR_VIBRATION - short vibration every hour between 8:00 and 22:00
*/

#define DISPLAY_SECONDS false
#define HOUR_VIBRATION false
#define HOUR_VIBRATION true
#define DISPLAY_DATE true
#define HOUR_VIBRATION_START 8
#define HOUR_VIBRATION_END 20
Expand Down Expand Up @@ -49,7 +49,7 @@ const GPathInfo HOUR_HAND_PATH_POINTS = {
(GPoint []) {
{-7, 15},
{7, 15},
{7, -45},
{0, -45},
}
};

Expand Down Expand Up @@ -196,7 +196,7 @@ void handle_tick(AppContextRef ctx, PebbleTickEvent *t){
if(t->tick_time->tm_min%2==0)
{
layer_mark_dirty(&hour_display_layer);
#if DISPLAY_DATE_ANALOG || DISPLAY_DATE_DIGITAL || DISPLAY_DATE_DIGITAL_DAY
#if DISPLAY_DATE
if(t->tick_time->tm_min==0&&t->tick_time->tm_hour==0)
{
draw_date();
Expand Down

0 comments on commit d887657

Please sign in to comment.