summaryrefslogtreecommitdiffstats
path: root/master/model-50-fix-alarm-off-by-one.patch
blob: 31ce8453f2f5598c18295abd7a635b010ef04fb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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);