From 6936eb2a0ede549031b1467fce1e8b1aa9e49e20 Mon Sep 17 00:00:00 2001 From: Th3maz1ng Date: Mon, 1 May 2023 21:02:26 +0200 Subject: [PATCH] Minor change : removed the capital letter at the front of some parameters --- src/W800_SDK_v1.00.10/app/gfx/watch_face.c | 4 ++-- src/W800_SDK_v1.00.10/app/gfx/watch_face.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/W800_SDK_v1.00.10/app/gfx/watch_face.c b/src/W800_SDK_v1.00.10/app/gfx/watch_face.c index cdbe496..128f342 100644 --- a/src/W800_SDK_v1.00.10/app/gfx/watch_face.c +++ b/src/W800_SDK_v1.00.10/app/gfx/watch_face.c @@ -207,7 +207,7 @@ void watch_face_register_date_time_cb(WatchFace_t * const watchFace, DateTimeCb_ watchFace->dateTimeCb = dateTimeCb; } -void watch_face_register_battery_indicator_cb(WatchFace_t *const watchFace, BatteryIndicatorCb_t BatteryIndicatorCb) +void watch_face_register_battery_indicator_cb(WatchFace_t *const watchFace, BatteryIndicatorCb_t batteryIndicatorCb) { if(!watchFace) { @@ -215,7 +215,7 @@ void watch_face_register_battery_indicator_cb(WatchFace_t *const watchFace, Batt return; } - watchFace->batteryIndicatorCb = BatteryIndicatorCb; + watchFace->batteryIndicatorCb = batteryIndicatorCb; } void watch_face_register_step_counter_indicator_cb(WatchFace_t * const watchFace, StepCounterIndicatorCb_t stepCounterIndicatorCb) diff --git a/src/W800_SDK_v1.00.10/app/gfx/watch_face.h b/src/W800_SDK_v1.00.10/app/gfx/watch_face.h index b791a89..18ec587 100644 --- a/src/W800_SDK_v1.00.10/app/gfx/watch_face.h +++ b/src/W800_SDK_v1.00.10/app/gfx/watch_face.h @@ -87,7 +87,7 @@ void watch_face_init(WatchFace_t * const watchFace); * @param watchFace a pointer to the watch face context structure. * @param DateTimeCb a pointer to a function having the right definition. */ -void watch_face_register_date_time_cb(WatchFace_t * const watchFace, DateTimeCb_t DateTimeCb); +void watch_face_register_date_time_cb(WatchFace_t * const watchFace, DateTimeCb_t dateTimeCb); /** * @brief Registers a call back function used to refresh the battery indicator. @@ -96,7 +96,7 @@ void watch_face_register_date_time_cb(WatchFace_t * const watchFace, DateTimeCb_ * @param watchFace a pointer to the watch face context structure. * @param BatteryIndicatorCb a pointer to a function having the right definition. */ -void watch_face_register_battery_indicator_cb(WatchFace_t * const watchFace, BatteryIndicatorCb_t BatteryIndicatorCb); +void watch_face_register_battery_indicator_cb(WatchFace_t * const watchFace, BatteryIndicatorCb_t batteryIndicatorCb); /** * @brief Registers a call back function used to refresh the step counter indicator located on the watch face.