blob: d9e5b5d4090aff3c91edccd036f8ca80a8e48f18 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# test micropython.heap_locked()
import micropython
if not hasattr(micropython, "heap_locked"):
print("SKIP")
raise SystemExit
micropython.heap_lock()
print(micropython.heap_locked())
micropython.heap_unlock()
print(micropython.heap_locked())
|