From c685c2a4a80e047a495c2061d673f1fd191a8edd Mon Sep 17 00:00:00 2001 From: imi415 Date: Sun, 14 Mar 2021 23:59:03 +0800 Subject: [PATCH] Added newline. --- st7789_lcd.c | 1 - st7789_lcd.h | 10 ++++------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/st7789_lcd.c b/st7789_lcd.c index 937200c..93669ef 100644 --- a/st7789_lcd.c +++ b/st7789_lcd.c @@ -51,4 +51,3 @@ st7789_ret_t st7789_lcd_load(st7789_lcd_t *lcd, uint8_t *data, uint16_t x_start, return ST7789_OK; } - diff --git a/st7789_lcd.h b/st7789_lcd.h index e3bd2c9..474ea2b 100644 --- a/st7789_lcd.h +++ b/st7789_lcd.h @@ -3,10 +3,7 @@ #include -typedef enum { - ST7789_OK, - ST7789_ERROR -} st7789_ret_t; +typedef enum { ST7789_OK, ST7789_ERROR } st7789_ret_t; typedef struct { st7789_ret_t (*reset_cb)(void *handle); @@ -24,6 +21,7 @@ typedef struct { #endif st7789_ret_t st7789_lcd_init(st7789_lcd_t *lcd); -st7789_ret_t st7789_lcd_load(st7789_lcd_t *lcd, uint8_t *data, uint16_t x_start, uint16_t x_end, uint16_t y_start, uint16_t y_end); +st7789_ret_t st7789_lcd_load(st7789_lcd_t *lcd, uint8_t *data, uint16_t x_start, + uint16_t x_end, uint16_t y_start, uint16_t y_end); -#endif \ No newline at end of file +#endif