[riot-notifications] [RIOT-OS/RIOT] stm32/flashpage: use void pointer for flash address (#15410)

Koen Zandberg notifications at github.com
Mon Nov 9 14:35:26 CET 2020

### Contribution description

The stm32 flashpage implementation has a number of ifdefs to assign different pointer types to store the flashpage address. This address is only used as void pointers in the called functions. This PR removes the ifdefs with the different pointer sizes, replacing it with a single line using a void pointer.

### Testing procedure

Compilation should be enough. Testing can be done using `tests/periph_flashpage` on the various stm32 devices.

### Issues/PRs references

You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * stm32/flashpage: use void pointer for flash address

-- File Changes --

    M cpu/stm32/periph/flashpage.c (11)

-- 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...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20201109/09621b82/attachment.htm>

More information about the notifications mailing list