Fixed wrong parameter. Time is set in 24-hour format.

This commit is contained in:
protomors 2017-09-01 20:32:25 +03:00 committed by Andreas Shimokawa
parent f8473ac42d
commit c97136e4fe
1 changed files with 1 additions and 1 deletions

View File

@ -282,7 +282,7 @@ public class No1F1Support extends AbstractBTLEDeviceSupport {
(byte) (c.get(Calendar.YEAR) % 256),
(byte) (c.get(Calendar.MONTH) + 1),
(byte) c.get(Calendar.DAY_OF_MONTH),
(byte) c.get(Calendar.HOUR),
(byte) c.get(Calendar.HOUR_OF_DAY),
(byte) c.get(Calendar.MINUTE),
(byte) c.get(Calendar.SECOND)
};