mirror of
https://github.com/olikraus/u8g2.git
synced 2026-07-27 20:05:57 +00:00
fix: comment unused y in s1d15e06
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user