summaryrefslogtreecommitdiffstatshomepage
path: root/ports/stm32/qspi.c
diff options
context:
space:
mode:
authorDavid Lechner <david@pybricks.com>2020-01-24 11:37:53 -0600
committerDamien George <damien.p.george@gmail.com>2020-01-29 17:10:32 +1100
commitb72cb0ca1bb27396a5dcba9ce8a6f00dbd3d5f19 (patch)
treeafba30af029f1aa2775fb0fc135643f549b6b4da /ports/stm32/qspi.c
parenta542c6d7e0340e5ff5364426131bdbd69a64e746 (diff)
downloadmicropython-b72cb0ca1bb27396a5dcba9ce8a6f00dbd3d5f19.tar.gz
micropython-b72cb0ca1bb27396a5dcba9ce8a6f00dbd3d5f19.zip
py/mpthread.h: Use strong type for mp_thread_set_state() argument.
This modifies the signature of mp_thread_set_state() to use mp_state_thread_t* instead of void*. This matches the return type of mp_thread_get_state(), which returns the same value. `struct _mp_state_thread_t;` had to be moved before `#include <mpthreadport.h>` since the stm32 port uses it in its mpthreadport.h file.
Diffstat (limited to 'ports/stm32/qspi.c')
0 files changed, 0 insertions, 0 deletions