From 5506d89d97db87f78ab2ba4715c4248a3d49f98f Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Tue, 30 Nov 2021 22:05:17 +0100 Subject: startup code uses init/run --- fw/fe310/eos/lcd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fw/fe310/eos/lcd.c') diff --git a/fw/fe310/eos/lcd.c b/fw/fe310/eos/lcd.c index 8a77651..86dd1e9 100644 --- a/fw/fe310/eos/lcd.c +++ b/fw/fe310/eos/lcd.c @@ -41,7 +41,7 @@ int eos_lcd_select(void) { void eos_lcd_deselect(void) { GPIO_REG(GPIO_OUTPUT_VAL) |= (1 << IOF_SPI1_MOSI); GPIO_REG(GPIO_IOF_EN) |= SPI_IOF_MASK; - eos_net_start(0); + eos_net_start(); } void eos_lcd_cs_set(void) { @@ -100,7 +100,7 @@ static int _init(void) { eos_lcd_write(1, 0x04); eos_lcd_write(1, 0x01); - // eos_lcd_write(0, 0x08); //Output SDA + // eos_lcd_write(0, 0x08); // Output SDA // eos_lcd_write(1, 0x10); eos_lcd_write(0, 0x20); // set DE/VSYNC mode -- cgit v1.2.3