summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2020-04-02 17:36:09 -0700
committerScott Shawcroft <scott@tannewt.org>2020-04-02 17:36:09 -0700
commitc248730bd1c837fe682232bf096e7260c4d5be3c (patch)
tree19fb8d20e2ac286f37a4ec9b3f6b20a4ed645bc0
parent46af4bdd0e4028dcc4be4cd74f434e8ad199db50 (diff)
Clean up
-rw-r--r--py/circuitpy_defns.mk4
-rw-r--r--supervisor/shared/tick.c1
2 files changed, 2 insertions, 3 deletions
diff --git a/py/circuitpy_defns.mk b/py/circuitpy_defns.mk
index 342ea4da4..42289c96c 100644
--- a/py/circuitpy_defns.mk
+++ b/py/circuitpy_defns.mk
@@ -300,7 +300,7 @@ $(filter $(SRC_PATTERNS), \
fontio/Glyph.c \
microcontroller/RunMode.c \
math/__init__.c \
- _eve/__init__.c \
+ _eve/__init__.c \
)
SRC_BINDINGS_ENUMS += \
@@ -364,7 +364,7 @@ SRC_SHARED_MODULE_ALL = \
ustack/__init__.c \
_pew/__init__.c \
_pew/PewPew.c \
- _eve/__init__.c
+ _eve/__init__.c
# All possible sources are listed here, and are filtered by SRC_PATTERNS.
SRC_SHARED_MODULE = $(filter $(SRC_PATTERNS), $(SRC_SHARED_MODULE_ALL))
diff --git a/supervisor/shared/tick.c b/supervisor/shared/tick.c
index de56b64f5..516dff747 100644
--- a/supervisor/shared/tick.c
+++ b/supervisor/shared/tick.c
@@ -110,7 +110,6 @@ void mp_hal_delay_ms(mp_uint_t delay) {
}
// Sleep until an interrupt happens.
port_sleep_until_interrupt();
- // asm("bkpt");
duration = (port_get_raw_ticks(NULL) - start_tick);
port_interrupt_after_ticks(duration);
}