From 7c5b25c8617807635e9f272ebe9e98304d07cf2f Mon Sep 17 00:00:00 2001 From: fctom1215 <fctom1215@outlook.com> Date: 星期五, 14 二月 2020 14:28:25 +0800 Subject: [PATCH] 增加单片机信息传递。 --- lib/src/main/cpp/utils/xconvert.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/lib/src/main/cpp/utils/xconvert.h b/lib/src/main/cpp/utils/xconvert.h index 7278c0c..cec7129 100644 --- a/lib/src/main/cpp/utils/xconvert.h +++ b/lib/src/main/cpp/utils/xconvert.h @@ -11,5 +11,7 @@ void ConvertHex2String(char *str, const uint8_t *hex, int length); void ConvertString2Hex(uint8_t *hex, int length, const char *str); uint32_t TimeMakeComposite(int year, int month, int day, int hour, int minute, int second); +uint32_t TimeMakeComposite(int hour, int minute, int second, int msecond); +uint32_t TimeGetDiff(int hour1, int minute1, int second1, int msecond1, int hour2, int minute2, int second2, int msecond2); #endif //MYAPPLICATION2_XCONVERT_H -- Gitblit v1.8.0