@@ -16,8 +16,8 @@ void setup(void) {
|
|||||||
|
|
||||||
if (!framebuffer) {
|
if (!framebuffer) {
|
||||||
printf("alloc memory failed !!!");
|
printf("alloc memory failed !!!");
|
||||||
while (1)
|
while (1) {
|
||||||
;
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
memset(framebuffer, 0xFF, EPD_WIDTH * EPD_HEIGHT / 2);
|
memset(framebuffer, 0xFF, EPD_WIDTH * EPD_HEIGHT / 2);
|
||||||
|
Reference in New Issue
Block a user