jnaulet / OpenPicoRTOS

Very small, safe, lightning fast, yet portable preemptive RTOS with SMP support
MIT License
46 stars 4 forks source link

Don't force user to cast peripheral addresses at init #47

Closed jnaulet closed 1 year ago

jnaulet commented 1 year ago

This is a bad idea that will inevitably lead to user error, just use "int addr" to allow direct use of the ADDR_ define and cast in the driver init.

Fix all drivers and demos