summaryrefslogtreecommitdiff
path: root/supervisor
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2020-10-12 18:36:18 -0700
committerScott Shawcroft <scott@tannewt.org>2020-10-12 18:43:21 -0700
commit379e73af2e55b1f0c517883360e29d5dbc27a20b (patch)
tree8be3230a70e58163e0c48bf87992251574e5d8ed /supervisor
parent9de96786ad578b4e96e8219e48c778a1a556f0cf (diff)
Finer grained, per port tick locking
Fixes #3504 hopefully.
Diffstat (limited to 'supervisor')
-rw-r--r--supervisor/shared/tick.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/supervisor/shared/tick.c b/supervisor/shared/tick.c
index 91ffa307d..a2855a570 100644
--- a/supervisor/shared/tick.c
+++ b/supervisor/shared/tick.c
@@ -125,9 +125,7 @@ void supervisor_tick(void) {
uint64_t supervisor_ticks_ms64() {
uint64_t result;
- common_hal_mcu_disable_interrupts();
result = port_get_raw_ticks(NULL);
- common_hal_mcu_enable_interrupts();
result = result * 1000 / 1024;
return result;
}