Minor change : removed the capital letter at the front of some parameters

This commit is contained in:
Th3maz1ng 2023-05-01 21:02:26 +02:00
parent 99263462ad
commit 6936eb2a0e
2 changed files with 4 additions and 4 deletions

View File

@ -207,7 +207,7 @@ void watch_face_register_date_time_cb(WatchFace_t * const watchFace, DateTimeCb_
watchFace->dateTimeCb = 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) if(!watchFace)
{ {
@ -215,7 +215,7 @@ void watch_face_register_battery_indicator_cb(WatchFace_t *const watchFace, Batt
return; return;
} }
watchFace->batteryIndicatorCb = BatteryIndicatorCb; watchFace->batteryIndicatorCb = batteryIndicatorCb;
} }
void watch_face_register_step_counter_indicator_cb(WatchFace_t * const watchFace, StepCounterIndicatorCb_t stepCounterIndicatorCb) void watch_face_register_step_counter_indicator_cb(WatchFace_t * const watchFace, StepCounterIndicatorCb_t stepCounterIndicatorCb)

View File

@ -87,7 +87,7 @@ void watch_face_init(WatchFace_t * const watchFace);
* @param watchFace a pointer to the watch face context structure. * @param watchFace a pointer to the watch face context structure.
* @param DateTimeCb a pointer to a function having the right definition. * @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. * @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 watchFace a pointer to the watch face context structure.
* @param BatteryIndicatorCb a pointer to a function having the right definition. * @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. * @brief Registers a call back function used to refresh the step counter indicator located on the watch face.