fix: comment unused y in s1d15e06

This commit is contained in:
Bas Stottelaar
2026-03-09 22:35:14 +01:00
parent 41e43b4aba
commit c2935e962c
+4 -3
View File
@@ -67,7 +67,8 @@ static const uint8_t u8x8_d_s1d15e06_flip1_seq[] = {
uint8_t u8x8_d_s1d15e06_common(u8x8_t *u8x8, uint8_t msg, uint8_t arg_int, void *arg_ptr)
{
uint8_t x, y, c;
uint8_t x, c;
// uint8_t y;
uint8_t *ptr;
switch(msg)
{
@@ -80,8 +81,8 @@ uint8_t u8x8_d_s1d15e06_common(u8x8_t *u8x8, uint8_t msg, uint8_t arg_int, void
u8x8_cad_SendCmd(u8x8, 0xB1); //Page Address - Row
u8x8_cad_SendArg(u8x8, (((u8x8_tile_t *)arg_ptr)->y_pos));
y = ((u8x8_tile_t *)arg_ptr)->y_pos;
y += u8x8->x_offset;
// y = ((u8x8_tile_t *)arg_ptr)->y_pos;
// y += u8x8->x_offset;
u8x8_cad_SendCmd(u8x8, 0x13); /* col */
u8x8_cad_SendArg(u8x8, x);