diff --git a/src/W800_SDK_v1.00.10/app/gfx/music_player_screen.h b/src/W800_SDK_v1.00.10/app/gfx/music_player_screen.h index 75f1b92..1045d07 100644 --- a/src/W800_SDK_v1.00.10/app/gfx/music_player_screen.h +++ b/src/W800_SDK_v1.00.10/app/gfx/music_player_screen.h @@ -58,6 +58,12 @@ typedef struct MusicPlayerScreen bool ble_connection_state; } MusicPlayerScreen_t; +/** + * @brief Initializes the music player screen's context object + * @note This function has to be called first before any others + * + * @param musicPlayerScreen a pointer to the music player screen's context structure to initialize. + */ void music_player_screen_init(MusicPlayerScreen_t * const musicPlayerScreen); void music_player_screen_register_music_playback_control_cb(MusicPlayerScreen_t * const musicPlayerScreen, MusicPlaybackCtrlCb_t musicPlaybackCtrlCb); @@ -76,8 +82,18 @@ void music_player_screen_set_music_playing_state(MusicPlayerScreen_t * const mus bool music_player_screen_is_in_use(MusicPlayerScreen_t * const musicPlayerScreen); +/** + * @brief Graphically builds the music player screen. + * + * @param musicPlayerScreen a pointer to the music player screen's context structure to initialize. + */ void music_player_screen_create(MusicPlayerScreen_t * const musicPlayerScreen); +/** + * @brief Frees all resources used by the MusicPlayerScreen object. + * + * @param musicPlayerScreen a pointer to the music player screen's context structure to initialize. + */ void music_player_screen_destroy(MusicPlayerScreen_t * const musicPlayerScreen); #endif // MUSIC_PLAYER_SCREEN_H 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 9aed859..317995b 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 @@ -113,7 +113,7 @@ void watch_face_register_battery_indicator_cb(WatchFace_t * const watchFace, Bat void watch_face_register_step_counter_indicator_cb(WatchFace_t * const watchFace, StepCounterIndicatorCb_t stepCounterIndicatorCb); /** - * @brief Graphically builds the watch face + * @brief Graphically builds the watch face. * * @param watchFace a pointer to the watch face context structure. */ @@ -168,7 +168,7 @@ void watch_face_force_sync(WatchFace_t * const watchFace); bool watch_face_is_in_use(WatchFace_t * const watchFace); /** - * @brief Frees all resources used by the WatchFace object + * @brief Frees all resources used by the WatchFace object. * * @param watchFace a pointer to the watch face context structure. */