X-Git-Url: https://git.karo-electronics.de/?p=oswald.git;a=blobdiff_plain;f=ui%2FLcdDisplay.c;h=f889bbc4ba7b7b118f95ff2212fd5379a090831d;hp=dbf775fbf4b6da665017c0391f15d35a682568a3;hb=5d0ff002cee35d109f4a60eff415b2db556fb8f4;hpb=dff6532fd5dbbd4a6c2f0fff2c428201b225c529 diff --git a/ui/LcdDisplay.c b/ui/LcdDisplay.c index dbf775f..f889bbc 100644 --- a/ui/LcdDisplay.c +++ b/ui/LcdDisplay.c @@ -1,4 +1,5 @@ -#include "oswald-ui.h" +#include "oswald.h" +#include "oswald_hal.h" #include "oswald_strings.h" #include "Fonts.h" @@ -32,7 +33,7 @@ void DrawLcdLineBresenham(u8t xstart, u8t ystart, u8t xend, u8t yend) x = xstart; y = ystart; err = el/2; - lcd_set_pixel(x, y, TRUE); + hal_lcd_set_pixel(x, y, TRUE); for (t = 0; t < el; ++t) { err -= es; @@ -44,7 +45,7 @@ void DrawLcdLineBresenham(u8t xstart, u8t ystart, u8t xend, u8t yend) x += pdx; y += pdy; } - lcd_set_pixel(x, y, TRUE); + hal_lcd_set_pixel(x, y, TRUE); } // lcd_update_display(); } @@ -77,12 +78,12 @@ void DrawLcdLineBresenhamWW(u8t xstart, u8t ystart, u8t xend, u8t yend, u8t thic x = xstart; y = ystart; err = el/2; - lcd_set_pixel(x, y, TRUE); + hal_lcd_set_pixel(x, y, TRUE); for (i=1; i