提交 aca518b6 编写于 作者: B bigmagic

remove fb clear function

上级 fc44e8f0
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册