issue #398
This commit is contained in:
parent
a20f7e3eec
commit
90845048c9
|
@ -37,7 +37,6 @@
|
|||
u8g2->cb->draw_l90
|
||||
void u8g2_draw_hv_line_4dir(u8g2_t *u8g2, u8g2_uint_t x, u8g2_uint_t y, u8g2_uint_t len, uint8_t dir)
|
||||
void u8g2_draw_hv_line_2dir(u8g2_t *u8g2, u8g2_uint_t x, u8g2_uint_t y, u8g2_uint_t len, uint8_t dir)
|
||||
void u8g2_draw_low_level_hv_line(u8g2_t *u8g2, u8g2_uint_t x, u8g2_uint_t y, u8g2_uint_t len, uint8_t dir)
|
||||
void u8g2_draw_pixel(u8g2_t *u8g2, u8g2_uint_t x, u8g2_uint_t y)
|
||||
|
||||
*/
|
||||
|
@ -148,7 +147,6 @@ static void u8g2_draw_hv_line_2dir(u8g2_t *u8g2, u8g2_uint_t x, u8g2_uint_t y, u
|
|||
}
|
||||
|
||||
u8g2->ll_hvline(u8g2, x, y, len, dir);
|
||||
//u8g2_draw_low_level_hv_line(u8g2, x, y, len, dir);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -200,7 +198,6 @@ void u8g2_draw_hv_line_4dir(u8g2_t *u8g2, u8g2_uint_t x, u8g2_uint_t y, u8g2_uin
|
|||
u8g2_draw_hv_line_2dir(u8g2, x, y, len, dir);
|
||||
#else
|
||||
u8g2->ll_hvline(u8g2, x, y, len, dir);
|
||||
//u8g2_draw_low_level_hv_line(u8g2, x, y, len, dir);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -210,8 +207,6 @@ void u8g2_draw_hv_line_4dir(u8g2_t *u8g2, u8g2_uint_t x, u8g2_uint_t y, u8g2_uin
|
|||
*/
|
||||
void u8g2_DrawHVLine(u8g2_t *u8g2, u8g2_uint_t x, u8g2_uint_t y, u8g2_uint_t len, uint8_t dir)
|
||||
{
|
||||
|
||||
|
||||
/* Make a call to the callback function (e.g. u8g2_draw_l90_r0). */
|
||||
/* The callback may rotate the hv line */
|
||||
/* after rotation this will call u8g2_draw_hv_line_4dir() */
|
||||
|
|
|
@ -97,14 +97,15 @@ static const uint8_t u8x8_d_ssd1326_256x32_nhd_powersave1_seq[] = {
|
|||
|
||||
static const uint8_t u8x8_d_ssd1326_256x32_nhd_flip0_seq[] = {
|
||||
U8X8_START_TRANSFER(), /* enable chip, delay is part of the transfer start */
|
||||
U8X8_CA(0x0a0, 0x006), /* remap */
|
||||
U8X8_CA(0x0a0, 0x006), /* remap 00110 */
|
||||
U8X8_END_TRANSFER(), /* disable chip */
|
||||
U8X8_END() /* end of sequence */
|
||||
};
|
||||
|
||||
static const uint8_t u8x8_d_ssd1326_256x32_nhd_flip1_seq[] = {
|
||||
U8X8_START_TRANSFER(), /* enable chip, delay is part of the transfer start */
|
||||
U8X8_CA(0x0a0, 0x005), /* remap */
|
||||
//U8X8_CA(0x0a0, 0x005), /* remap 00101 */
|
||||
U8X8_CA(0x0a0, 0x001), /* remap 00001 */
|
||||
U8X8_END_TRANSFER(), /* disable chip */
|
||||
U8X8_END() /* end of sequence */
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue