Skip to content

Commit

Permalink
Version 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
bogdanorzea committed Jan 10, 2016
1 parent 3cea7a5 commit 80a4561
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion appinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
"basalt"
],
"uuid": "406e0c51-ab25-4858-b94e-b53a0f6836fd",
"versionLabel": "1.7",
"versionLabel": "1.8",
"watchapp": {
"watchface": true
}
Expand Down
Binary file added release/sfclock_1.8.pbw
Binary file not shown.
4 changes: 2 additions & 2 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ static void update_time() {
*/

// Checks if time is on the hour and vibrate_hourly is active
if (vibrate_hourly) {
if (vibrate_hourly && tick_time->tm_sec == 0 && tick_time->tm_min == 0) {
// Triggers if vibrate_start_day < vibrate_end_day
if (vibrate_start_day <= vibrate_end_day && tick_time->tm_wday >= vibrate_start_day && tick_time->tm_wday <= vibrate_end_day) {
// Triggers if vibrate_start_time < vibrate_end_time
Expand Down Expand Up @@ -642,4 +642,4 @@ int main(void) {
init();
app_event_loop();
deinit();
}
}

0 comments on commit 80a4561

Please sign in to comment.