some fixes

This commit is contained in:
sharandac
2020-08-10 12:35:39 +02:00
parent 40794d8b0a
commit 400fcbd622
14 changed files with 107 additions and 23 deletions

View File

@@ -28,6 +28,10 @@ static void screenshot_disp_flush( lv_disp_drv_t *disp_drv, const lv_area_t *are
void screenshot_setup( void ) {
png = (uint16_t*)ps_malloc( LV_HOR_RES_MAX * LV_VER_RES_MAX * sizeof( lv_color_t ) );
if ( png == NULL ) {
log_e("error memory alloc");
while(1);
}
}
void screenshot_take( void ) {