follow up the commit:
commit e9cc1c2d4676b3863a85f35a79162ecedd280213
Author: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
Date: Wed Mar 10 13:07:15 2021 +0100
feat(driver): raname lv_disp_buf_t to lv_disp_draw_buf_t + save only the drv's pointer in lv_disp_t
* fix(disp): correct the typo error in comment
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
* fix(disp): fix the field definition
1.change rotated from 3bits to 2bits since lv_disp_rot_t has only four value
2.change inv_p from 10bits to uint16_t to avoid the bit operation
3.reorder bg_opa to save the memory space
* fix(disp): remove the unnecessary field zero
since lv_memset_00 is already done for the main struct
* fix(disp): handle the out of memmory gracefully
* fix(disp): delete the refresh timer in lv_disp_remove
* fix(disp): handle NULL pointer correctly in lv_disp_[g|s]et_rotation
like other similar(allow NULL disp) functions
* fix(disp): call lv_area_set_[width|height] in lv_disp_drv_update
to remove one extra row and column
follow up the commit:
commit e9cc1c2d4676b3863a85f35a79162ecedd280213
Author: Gabor Kiss-Vamosi <kisvegabor@gmail.com>
Date: Wed Mar 10 13:07:15 2021 +0100
feat(driver): raname lv_disp_buf_t to lv_disp_draw_buf_t + save only the drv's pointer in lv_disp_t
* feat(mem): add initial version of tlsf
from : https://github.com/mattconte/tlsf
commit: deff9ab509341f264addbd3c8ada533678591905
* feat(mem): switch the default allocator to tlsf
* fix(mem): remove the preserved small buffer
since the builtin allocator(tlsf) is fast enough now
* fix(mem): change LV_MEM_ADD_JUNK to 0
to speed up the normal operation
Remove dead code in lv_label and lv_spinbox, there is already lv_obj_handle_get_type_signal() call higher up.
Change lv_led to use lv_obj_handle_get_type_signal() like other widgets do.
* fix(hal indev): correct the typo and adjust the alignment
* fix(hal indev): remove the unnecessary forward declaration
* fix(hal indev): relayout the bitfiled to save space
* fix(hal indev): remove the unnecessary memory zero
* fix(hal indev): remove the initial hardcode value for scroll_throw