issue #1598 codebuild exec
This commit is contained in:
parent
607763ed62
commit
a16d1731ab
|
@ -490,9 +490,9 @@ uint8_t *u8g2_m_8_16_f(uint8_t *page_cnt);
|
|||
uint8_t *u8g2_m_12_12_1(uint8_t *page_cnt);
|
||||
uint8_t *u8g2_m_12_12_2(uint8_t *page_cnt);
|
||||
uint8_t *u8g2_m_12_12_f(uint8_t *page_cnt);
|
||||
uint8_t *u8g2_m_16_10_1(uint8_t *page_cnt);
|
||||
uint8_t *u8g2_m_16_10_2(uint8_t *page_cnt);
|
||||
uint8_t *u8g2_m_16_10_f(uint8_t *page_cnt);
|
||||
uint8_t *u8g2_m_10_16_1(uint8_t *page_cnt);
|
||||
uint8_t *u8g2_m_10_16_2(uint8_t *page_cnt);
|
||||
uint8_t *u8g2_m_10_16_f(uint8_t *page_cnt);
|
||||
uint8_t *u8g2_m_16_16_1(uint8_t *page_cnt);
|
||||
uint8_t *u8g2_m_16_16_2(uint8_t *page_cnt);
|
||||
uint8_t *u8g2_m_16_16_f(uint8_t *page_cnt);
|
||||
|
|
|
@ -234,36 +234,36 @@ uint8_t *u8g2_m_12_12_f(uint8_t *page_cnt)
|
|||
return buf;
|
||||
#endif
|
||||
}
|
||||
uint8_t *u8g2_m_16_10_1(uint8_t *page_cnt)
|
||||
uint8_t *u8g2_m_10_16_1(uint8_t *page_cnt)
|
||||
{
|
||||
#ifdef U8G2_USE_DYNAMIC_ALLOC
|
||||
*page_cnt = 1;
|
||||
return 0;
|
||||
#else
|
||||
static uint8_t buf[128];
|
||||
static uint8_t buf[80];
|
||||
*page_cnt = 1;
|
||||
return buf;
|
||||
#endif
|
||||
}
|
||||
uint8_t *u8g2_m_16_10_2(uint8_t *page_cnt)
|
||||
uint8_t *u8g2_m_10_16_2(uint8_t *page_cnt)
|
||||
{
|
||||
#ifdef U8G2_USE_DYNAMIC_ALLOC
|
||||
*page_cnt = 2;
|
||||
return 0;
|
||||
#else
|
||||
static uint8_t buf[256];
|
||||
static uint8_t buf[160];
|
||||
*page_cnt = 2;
|
||||
return buf;
|
||||
#endif
|
||||
}
|
||||
uint8_t *u8g2_m_16_10_f(uint8_t *page_cnt)
|
||||
uint8_t *u8g2_m_10_16_f(uint8_t *page_cnt)
|
||||
{
|
||||
#ifdef U8G2_USE_DYNAMIC_ALLOC
|
||||
*page_cnt = 10;
|
||||
*page_cnt = 16;
|
||||
return 0;
|
||||
#else
|
||||
static uint8_t buf[1280];
|
||||
*page_cnt = 10;
|
||||
*page_cnt = 16;
|
||||
return buf;
|
||||
#endif
|
||||
}
|
||||
|
|
|
@ -830,7 +830,7 @@ void u8g2_Setup_sh1107_128x80_1(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_ms
|
|||
uint8_t tile_buf_height;
|
||||
uint8_t *buf;
|
||||
u8g2_SetupDisplay(u8g2, u8x8_d_sh1107_128x80, u8x8_cad_001, byte_cb, gpio_and_delay_cb);
|
||||
buf = u8g2_m_16_10_1(&tile_buf_height);
|
||||
buf = u8g2_m_10_16_1(&tile_buf_height);
|
||||
u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_vertical_top_lsb, rotation);
|
||||
}
|
||||
/* sh1107 2 */
|
||||
|
@ -839,7 +839,7 @@ void u8g2_Setup_sh1107_128x80_2(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_ms
|
|||
uint8_t tile_buf_height;
|
||||
uint8_t *buf;
|
||||
u8g2_SetupDisplay(u8g2, u8x8_d_sh1107_128x80, u8x8_cad_001, byte_cb, gpio_and_delay_cb);
|
||||
buf = u8g2_m_16_10_2(&tile_buf_height);
|
||||
buf = u8g2_m_10_16_2(&tile_buf_height);
|
||||
u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_vertical_top_lsb, rotation);
|
||||
}
|
||||
/* sh1107 f */
|
||||
|
@ -848,7 +848,7 @@ void u8g2_Setup_sh1107_128x80_f(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x8_ms
|
|||
uint8_t tile_buf_height;
|
||||
uint8_t *buf;
|
||||
u8g2_SetupDisplay(u8g2, u8x8_d_sh1107_128x80, u8x8_cad_001, byte_cb, gpio_and_delay_cb);
|
||||
buf = u8g2_m_16_10_f(&tile_buf_height);
|
||||
buf = u8g2_m_10_16_f(&tile_buf_height);
|
||||
u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_vertical_top_lsb, rotation);
|
||||
}
|
||||
/* sh1107 */
|
||||
|
@ -858,7 +858,7 @@ void u8g2_Setup_sh1107_i2c_128x80_1(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x
|
|||
uint8_t tile_buf_height;
|
||||
uint8_t *buf;
|
||||
u8g2_SetupDisplay(u8g2, u8x8_d_sh1107_128x80, u8x8_cad_ssd13xx_fast_i2c, byte_cb, gpio_and_delay_cb);
|
||||
buf = u8g2_m_16_10_1(&tile_buf_height);
|
||||
buf = u8g2_m_10_16_1(&tile_buf_height);
|
||||
u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_vertical_top_lsb, rotation);
|
||||
}
|
||||
/* sh1107 2 */
|
||||
|
@ -867,7 +867,7 @@ void u8g2_Setup_sh1107_i2c_128x80_2(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x
|
|||
uint8_t tile_buf_height;
|
||||
uint8_t *buf;
|
||||
u8g2_SetupDisplay(u8g2, u8x8_d_sh1107_128x80, u8x8_cad_ssd13xx_fast_i2c, byte_cb, gpio_and_delay_cb);
|
||||
buf = u8g2_m_16_10_2(&tile_buf_height);
|
||||
buf = u8g2_m_10_16_2(&tile_buf_height);
|
||||
u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_vertical_top_lsb, rotation);
|
||||
}
|
||||
/* sh1107 f */
|
||||
|
@ -876,7 +876,7 @@ void u8g2_Setup_sh1107_i2c_128x80_f(u8g2_t *u8g2, const u8g2_cb_t *rotation, u8x
|
|||
uint8_t tile_buf_height;
|
||||
uint8_t *buf;
|
||||
u8g2_SetupDisplay(u8g2, u8x8_d_sh1107_128x80, u8x8_cad_ssd13xx_fast_i2c, byte_cb, gpio_and_delay_cb);
|
||||
buf = u8g2_m_16_10_f(&tile_buf_height);
|
||||
buf = u8g2_m_10_16_f(&tile_buf_height);
|
||||
u8g2_SetupBuffer(u8g2, buf, tile_buf_height, u8g2_ll_hvline_vertical_top_lsb, rotation);
|
||||
}
|
||||
/* sh1107 */
|
||||
|
|
Loading…
Reference in New Issue