remove fb clear function

This commit is contained in:
bigmagic 2020-05-24 21:16:29 +08:00
parent fc44e8f0ae
commit aca518b6ca
1 changed files with 0 additions and 14 deletions

View File

@ -205,20 +205,6 @@ void clear_line(fb_t *fb, const int line)
}
void clear(fb_t *fb, const uint32_t color)
{
uint32_t *addr = (uint32_t*) fb->addr;
uint32_t i;
for (i = 0; i < (fb->height * fb->width); i++)
{
*addr++ = color;
}
fb->x = 0;
fb->y = 0;
}
void fb_draw_char(fb_t *fb, char s)
{
unsigned char* addr = (unsigned char*) fb->addr;