X-Git-Url: https://git.karo-electronics.de/?p=oswald.git;a=blobdiff_plain;f=ui%2FLcdDisplay.c;h=725908a4ab999860fbe6cb865b69ad6bfab5baa1;hp=f889bbc4ba7b7b118f95ff2212fd5379a090831d;hb=b83e605bc8ba69950a84b6ed268f0c196f68762c;hpb=5d0ff002cee35d109f4a60eff415b2db556fb8f4 diff --git a/ui/LcdDisplay.c b/ui/LcdDisplay.c index f889bbc..725908a 100644 --- a/ui/LcdDisplay.c +++ b/ui/LcdDisplay.c @@ -5,6 +5,21 @@ #include "LcdDisplay.h" +void oswald_draw_bitmap(const uint8_t xstart, const uint8_t ystart, const uint8_t width, const uint8_t height, const void *bmp) +{ + uint8_t x, y; + uint8_t *cb; + + // we only draw set pixel, unset pixel remain as they are + for (y=0; y