[riot-notifications] [RIOT-OS/RIOT] Add struct for coordinates in disp_dev API (#14051)
notifications at github.com
Sun May 10 14:40:00 CEST 2020
### Contribution description
In order to simplify the API and reduce the amount of parameters, I changed the `disp_dev` API to use a struct to store the coordinates. I also changed the `ili9341` driver to make us of it.
### Testing procedure
Haven't tried the tests yet. Just checked for compile errors and warnings.
Changed tests are available in `tests/disp_dev` and `driver_ili9341`
You can view, comment on, or merge this pull request online at:
-- Commit Summary --
* drivers/disp_dev: Adapt API to use struct for coordinates
* drivers/ili9341: Adapt API to use struct for coordinates
-- File Changes --
M drivers/disp_dev/disp_dev.c (9)
M drivers/ili9341/ili9341.c (45)
M drivers/ili9341/ili9341_disp_dev.c (8)
M drivers/include/disp_dev.h (36)
M drivers/include/ili9341.h (38)
M tests/disp_dev/main.c (13)
M tests/driver_ili9341/main.c (25)
-- Patch Links --
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications