|
|
@ -57,7 +57,7 @@ |
|
|
|
|
|
|
|
*/ |
|
|
|
|
|
|
|
#include "../../inc/MarlinConfig.h" |
|
|
|
#include "../../inc/MarlinConfigPre.h" |
|
|
|
|
|
|
|
#if ENABLED(DOGLCD) |
|
|
|
|
|
|
@ -108,10 +108,8 @@ static const uint8_t u8g_dev_uc1701_mini12864_HAL_data_start[] PROGMEM = { |
|
|
|
U8G_ESC_END /* end of sequence */ |
|
|
|
}; |
|
|
|
|
|
|
|
uint8_t u8g_dev_uc1701_mini12864_HAL_fn(u8g_t *u8g, u8g_dev_t *dev, uint8_t msg, void *arg) |
|
|
|
{ |
|
|
|
switch(msg) |
|
|
|
{ |
|
|
|
uint8_t u8g_dev_uc1701_mini12864_HAL_fn(u8g_t *u8g, u8g_dev_t *dev, uint8_t msg, void *arg) { |
|
|
|
switch(msg) { |
|
|
|
case U8G_DEV_MSG_INIT: |
|
|
|
u8g_InitCom(u8g, dev, U8G_SPI_CLK_CYCLE_300NS); |
|
|
|
u8g_WriteEscSeqP(u8g, dev, u8g_dev_uc1701_mini12864_HAL_init_seq); |
|
|
@ -140,10 +138,8 @@ uint8_t u8g_dev_uc1701_mini12864_HAL_fn(u8g_t *u8g, u8g_dev_t *dev, uint8_t msg, |
|
|
|
return u8g_dev_pb8v1_base_fn(u8g, dev, msg, arg); |
|
|
|
} |
|
|
|
|
|
|
|
uint8_t u8g_dev_uc1701_mini12864_HAL_2x_fn(u8g_t *u8g, u8g_dev_t *dev, uint8_t msg, void *arg) |
|
|
|
{ |
|
|
|
switch(msg) |
|
|
|
{ |
|
|
|
uint8_t u8g_dev_uc1701_mini12864_HAL_2x_fn(u8g_t *u8g, u8g_dev_t *dev, uint8_t msg, void *arg) { |
|
|
|
switch(msg) { |
|
|
|
case U8G_DEV_MSG_INIT: |
|
|
|
u8g_InitCom(u8g, dev, U8G_SPI_CLK_CYCLE_300NS); |
|
|
|
u8g_WriteEscSeqP(u8g, dev, u8g_dev_uc1701_mini12864_HAL_init_seq); |
|
|
|