InfiniTime.git

commit d4531d7bf393af56bf295fee399893802dfcac40

Author: Avamander <avamander@gmail.com>

Reordered the functions in Music.cpp correctly

 src/displayapp/screens/Music.cpp | 22 +++++++++++-----------


diff --git a/src/displayapp/screens/Music.cpp b/src/displayapp/screens/Music.cpp
index 82355e21b20418dc2669ba0ec1b672a40f4dfb87..63e2e2768415c411e99c422402e9bdb2fdbc01ec 100644
--- a/src/displayapp/screens/Music.cpp
+++ b/src/displayapp/screens/Music.cpp
@@ -30,6 +30,17 @@   screen->OnObjectEvent(obj, event);
 }
 
 /**
+ * Set the pixel array to display by the image
+ * This just calls lv_img_set_src but adds type safety
+ *
+ * @param img pointer to an image object
+ * @param data the image array
+ */
+inline void lv_img_set_src_arr(lv_obj_t *img, const lv_img_dsc_t *src_img) {
+  lv_img_set_src(img, src_img);
+}
+
+/**
  * Music control watchapp
  *
  * TODO: Investigate Apple Media Service and AVRCPv1.6 support for seamless integration
@@ -278,15 +289,4 @@     default: {
       return true;
     }
   }
-}
-
-/**
- * Set the pixel array to display by the image
- * This just calls lv_img_set_src but adds type safety
- *
- * @param img pointer to an image object
- * @param data the image array
- */
-inline void lv_img_set_src_arr(lv_obj_t *img, const lv_img_dsc_t *src_img) {
-  lv_img_set_src(img, src_img);
 }
\ No newline at end of file