summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYour Name <you@example.com>2019-07-19 10:40:47 +0100
committerYour Name <you@example.com>2019-07-19 10:40:47 +0100
commitac208cebce94bc28d7e9382d531bad57992e899e (patch)
tree621ad7ee14795d197f236414bf487392b83f0b7d
parent35c4b69542a6dcc3b48462e6682848d0c37ff5a2 (diff)
downloaddatalink-pq-master.zip
datalink-pq-master.tar.gz
datalink-pq-master.tar.bz2
-rw-r--r--master/model-150-fix-time-offset.patch13
-rw-r--r--master/model-50-fix-alarm-off-by-one.patch13
-rw-r--r--master/model-50-fix-time-offset.patch13
3 files changed, 39 insertions, 0 deletions
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;