summaryrefslogtreecommitdiff
path: root/py/asmthumb.c
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2023-11-27 11:51:36 +1100
committerDamien George <damien@micropython.org>2023-11-30 16:11:11 +1100
commit4bf7987f0abfde47b0bac4e2e8546979802ba3c6 (patch)
tree7520e34a9b2acf59b278d2d05b9de943e697955e /py/asmthumb.c
parentf523b86541440cc756aa0b2379538ee5e7864803 (diff)
cc3200/mods/modmachine: Use common implementation of disable/enable_irq.
This commit changes the cc3200 port to use the common machine implementation of machine.disable_irq() and machine.enable_irq(). This eliminates its dependency on the stm32 port's code. The behaviour of cc3200 for these functions is changed: - disable_irq() now returns an (opaque) integer rather than a bool - enable_irq(state) must be passed and argument, which is the return value of disable_irq() rather than a bool Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'py/asmthumb.c')
0 files changed, 0 insertions, 0 deletions