summaryrefslogtreecommitdiff
path: root/shared-bindings/microcontroller/RunMode.c
diff options
context:
space:
mode:
authorScott Shawcroft <scott@adafruit.com>2020-07-22 14:00:28 -0700
committerGitHub <noreply@github.com>2020-07-22 14:00:28 -0700
commit049921fec8be3ccd9c3a29e14f21e6ffa76b09ea (patch)
tree4350f9a3e8c0c9a04882c682db8951f0dc266f75 /shared-bindings/microcontroller/RunMode.c
parent1ec358094671716cadf9b17ca51deb346070bcae (diff)
parent02b71e013adda29cd67172a3782fda8fa5da0bba (diff)
Merge branch 'main' into memmonitor
Diffstat (limited to 'shared-bindings/microcontroller/RunMode.c')
-rw-r--r--shared-bindings/microcontroller/RunMode.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/shared-bindings/microcontroller/RunMode.c b/shared-bindings/microcontroller/RunMode.c
index 6db315d8d..38bbb612b 100644
--- a/shared-bindings/microcontroller/RunMode.c
+++ b/shared-bindings/microcontroller/RunMode.c
@@ -29,22 +29,22 @@
//| class RunMode:
//| """run state of the microcontroller"""
//|
-//| def __init__(self, ):
+//| def __init__(self) -> None:
//| """Enum-like class to define the run mode of the microcontroller and
//| CircuitPython."""
//|
-//| NORMAL: Any = ...
+//| NORMAL: RunMode = ...
//| """Run CircuitPython as normal.
//|
//| :type microcontroller.RunMode:"""
//|
-//| SAFE_MODE: Any = ...
+//| SAFE_MODE: RunMode = ...
//| """Run CircuitPython in safe mode. User code will not be run and the
//| file system will be writeable over USB.
//|
//| :type microcontroller.RunMode:"""
//|
-//| BOOTLOADER: Any = ...
+//| BOOTLOADER: RunMode = ...
//| """Run the bootloader.
//|
//| :type microcontroller.RunMode:"""