ST7789: Add template for update_cb
We might use this callback to be able to rotate the display at runtime using the displa controller configuration bytes
This commit is contained in:
parent
83c08f6a2a
commit
dfe54e8573
2 changed files with 32 additions and 0 deletions
|
@ -232,3 +232,8 @@ static void st7789_set_orientation(lv_disp_drv_t *drv, uint8_t orientation)
|
|||
st7789_send_data(drv, (void *) &data[orientation], 1);
|
||||
}
|
||||
|
||||
/* Display update callback, we could update the orientation in here */
|
||||
void st7789_update_cb(lv_disp_drv_t *drv)
|
||||
{
|
||||
(void) drv;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue