summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2019-02-13 00:35:14 -0800
committerScott Shawcroft <scott@tannewt.org>2019-02-13 15:31:06 -0800
commit473bdf48f61998ee9c51aa16c159bbc4df1d15b6 (patch)
tree29a5b62c3c5abd25de64d4477d5356fbd595a438 /main.c
parent78f51792a7da468413b94c714f39bd4750412671 (diff)
A safe mode fix and displayio fixes
* Fixes safe mode on the SAMD51. The "preserved" value was being clobbered by the bootloader. * Fixes auto-reload loop when in safe mode. * Fixes reading Group children with []. * Check that a TileGrid actually moves before queueing a refresh.
Diffstat (limited to 'main.c')
-rwxr-xr-xmain.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.c b/main.c
index 522484856..c1244f36c 100755
--- a/main.c
+++ b/main.c
@@ -229,6 +229,7 @@ bool run_code_py(safe_mode_t safe_mode) {
MICROPY_VM_HOOK_LOOP
#endif
if (reload_requested) {
+ reload_requested = false;
return true;
}