Skip to content

Commit

Permalink
Fix flush_cb signature
Browse files Browse the repository at this point in the history
  • Loading branch information
clydebarrow committed Jul 17, 2024
1 parent 0a1e411 commit 1055dd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/porting/display.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ An example ``flush_cb`` looks like this:

.. code:: c
void my_flush_cb(lv_display_t * display, const lv_area_t * area, void * px_map)
void my_flush_cb(lv_display_t * display, const lv_area_t * area, uint8_t * px_map)
{
/*The most simple case (but also the slowest) to put all pixels to the screen one-by-one
*`put_px` is just an example, it needs to be implemented by you.*/
Expand Down

0 comments on commit 1055dd0

Please sign in to comment.