@@ -111,27 +111,6 @@ do { \
111111 */
112112#define lcd_CrsrGetSize () ((lcd_cursor_size_t)(lcd_CrsrConfig & 1))
113113
114- /**
115- * Sets cursor image.
116- *
117- * @param[in] data A pointer to 256 or 1024 bytes of packed 2bpp image data,
118- * depending on the value of lcd_CrsrGetSize().
119- * @see lcd_cursor_size_t
120- *
121- * @note
122- * To use convimg to create the required data, add `bpp: 2`
123- * to the converts section in convimg.yaml corresponding
124- * to your image(s).
125- *
126- * @note
127- * If the cursor size is set to small (32x32), this will copy the data
128- * to image index 0.
129- */
130- #define lcd_CrsrSetImage (data ) \
131- do { \
132- memcpy(lcd_CrsrImage, data, lcd_CrsrGetSize() == LCD_CURSOR_SIZE_LARGE ? lcd_CrsrImageLen64 : lcd_CrsrImageLen32); \
133- } while (0)
134-
135114/**
136115 * Sets a small cursor image at the specified index.
137116 *
@@ -141,6 +120,11 @@ do { \
141120 * @see lcd_CrsrSetImageIndex
142121 * @see lcd_cursor_size_t
143122 * @see lcd_CrsrSetImage
123+ *
124+ * @note
125+ * To use convimg to create the required data, add `bpp: 2`
126+ * to the converts section in convimg.yaml corresponding
127+ * to your image(s).
144128 */
145129#define lcd_CrsrSetImageSmall (data , index ) \
146130do { \
@@ -154,6 +138,11 @@ do { \
154138 *
155139 * @see lcd_cursor_size_t
156140 * @see lcd_CrsrSetImage
141+ *
142+ * @note
143+ * To use convimg to create the required data, add `bpp: 2`
144+ * to the converts section in convimg.yaml corresponding
145+ * to your image(s).
157146 */
158147#define lcd_CrsrSetImageLarge (data ) \
159148do { \
0 commit comments