[riot-notifications] [RIOT-OS/RIOT] Add struct for coordinates in disp_dev API (#14051)

Philipp-Alexander Blum 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:

  https://github.com/RIOT-OS/RIOT/pull/14051

-- 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 --

https://github.com/RIOT-OS/RIOT/pull/14051.patch
https://github.com/RIOT-OS/RIOT/pull/14051.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/14051
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200510/d91b3564/attachment.htm>


More information about the notifications mailing list