Skip to content
Snippets Groups Projects
Commit db2e37d3 authored by Manuel Kasten's avatar Manuel Kasten Committed by schneider
Browse files

fix code-style issues

parent bb13e44c
No related branches found
No related tags found
No related merge requests found
......@@ -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_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 };
#define SPI_SPEED (15 * 1000 * 1000) // Bit Rate. Display has 15 MHz limit
/********************************************************************************/
......@@ -112,4 +119,3 @@ void DEV_Set_BL(uint16_t _Value)
printf("PWM started.\n");
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment