From ac208cebce94bc28d7e9382d531bad57992e899e Mon Sep 17 00:00:00 2001 From: Your Name Date: Fri, 19 Jul 2019 10:40:47 +0100 Subject: fish --- master/model-150-fix-time-offset.patch | 13 +++++++++++++ master/model-50-fix-alarm-off-by-one.patch | 13 +++++++++++++ master/model-50-fix-time-offset.patch | 13 +++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 master/model-150-fix-time-offset.patch create mode 100644 master/model-50-fix-alarm-off-by-one.patch create mode 100644 master/model-50-fix-time-offset.patch diff --git a/master/model-150-fix-time-offset.patch b/master/model-150-fix-time-offset.patch new file mode 100644 index 0000000..741c891 --- /dev/null +++ b/master/model-150-fix-time-offset.patch @@ -0,0 +1,13 @@ +diff --git a/dl_init_watch.c b/dl_init_watch.c +index d6a7408..cb276c7 100644 +--- a/dl_init_watch.c ++++ b/dl_init_watch.c +@@ -139,7 +139,7 @@ WatchInfoPtr dl_init_watch(int type) + result->max_wristapp_len = 742; + result->max_mel_len = 64; + result->pre_notification_time = 0; +- result->time_adjust = 9; ++ result->time_adjust = 3; + break; + case DATALINK_IRONMAN: + result->dl_device = type; diff --git a/master/model-50-fix-alarm-off-by-one.patch b/master/model-50-fix-alarm-off-by-one.patch new file mode 100644 index 0000000..31ce845 --- /dev/null +++ b/master/model-50-fix-alarm-off-by-one.patch @@ -0,0 +1,13 @@ +diff --git a/dl_send_data.c b/dl_send_data.c +index e68904f..8474b9c 100644 +--- a/dl_send_data.c ++++ b/dl_send_data.c +@@ -748,7 +748,7 @@ int dl_send_data(WatchInfoPtr wi, int type) + buf[0] = 0x07; + buf[1] = 0x70; + buf[2] = 0x00; +- buf[3] = 0x61 + dl_download_data.alarms[i].alarm_num; ++ buf[3] = 0x60 + dl_download_data.alarms[i].alarm_num; + buf[4] = 0x00; + + dl_docrc(buf); diff --git a/master/model-50-fix-time-offset.patch b/master/model-50-fix-time-offset.patch new file mode 100644 index 0000000..d3a3dc4 --- /dev/null +++ b/master/model-50-fix-time-offset.patch @@ -0,0 +1,13 @@ +diff --git a/dl_init_watch.c b/dl_init_watch.c +index 9e88500..d6a7408 100644 +--- a/dl_init_watch.c ++++ b/dl_init_watch.c +@@ -86,7 +86,7 @@ WatchInfoPtr dl_init_watch(int type) + result->max_wristapp_len = 0; + result->max_mel_len = 0; + result->pre_notification_time = 0; +- result->time_adjust = 9; ++ result->time_adjust = 2; + break; + case DATALINK_70: + result->dl_device = type; -- cgit v1.2.3