diff --git a/kmk/handlers/stock.py b/kmk/handlers/stock.py index 6a76e96..036c821 100644 --- a/kmk/handlers/stock.py +++ b/kmk/handlers/stock.py @@ -1,4 +1,4 @@ -from supervisoor import ticks_ms +from supervisor import ticks_ms def passthrough(key, keyboard, *args, **kwargs): diff --git a/kmk/kmktime.py b/kmk/kmktime.py index a28b8a3..82ed7cd 100644 --- a/kmk/kmktime.py +++ b/kmk/kmktime.py @@ -1,4 +1,4 @@ -import const +from micropython import const _TICKS_PERIOD = const(1 << 29) _TICKS_MAX = const(_TICKS_PERIOD - 1)