Skip to content
Snippets Groups Projects
Commit 663c22a6 authored by q3k's avatar q3k
Browse files

code style

parent 5f851420
No related branches found
No related tags found
No related merge requests found
Pipeline #1553 passed
...@@ -36,7 +36,14 @@ ...@@ -36,7 +36,14 @@
//const gpio_cfg_t DEV_CS_PIN = {PORT_0, PIN_8, GPIO_FUNC_OUT, GPIO_PAD_NONE}; //const gpio_cfg_t DEV_CS_PIN = {PORT_0, PIN_8, GPIO_FUNC_OUT, GPIO_PAD_NONE};
//const gpio_cfg_t DEV_BL_PIN = {PORT_0, PIN_8, GPIO_FUNC_OUT, GPIO_PAD_NONE}; //const gpio_cfg_t DEV_BL_PIN = {PORT_0, PIN_8, GPIO_FUNC_OUT, GPIO_PAD_NONE};
static spi_req_t req = {.rx_data = NULL, .bits=8, .width = SPI17Y_WIDTH_1, .ssel = 0, .deass = 1, .ssel_pol = SPI17Y_POL_LOW, .tx_num = 0, .rx_num = 0}; static spi_req_t req = { .rx_data = NULL,
.bits = 8,
.width = SPI17Y_WIDTH_1,
.ssel = 0,
.deass = 1,
.ssel_pol = SPI17Y_POL_LOW,
.tx_num = 0,
.rx_num = 0 };
/********************************************************************************/ /********************************************************************************/
void lcd_write_async(uint8_t *data, int size, lcd_write_cb_t wr_callback) void lcd_write_async(uint8_t *data, int size, lcd_write_cb_t wr_callback)
......
...@@ -336,6 +336,7 @@ int LCD_Update(void) ...@@ -336,6 +336,7 @@ int LCD_Update(void)
return 0; return 0;
} }
frame_t *LCD_Framebuffer(void) { frame_t *LCD_Framebuffer(void)
{
return frame(); return frame();
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment