summaryrefslogtreecommitdiff
path: root/shared-bindings/microcontroller
diff options
context:
space:
mode:
authormicroDev <70126934+microDev1@users.noreply.github.com>2020-09-25 00:28:50 +0530
committerScott Shawcroft <scott@tannewt.org>2020-10-27 16:16:52 -0700
commit59df1a11ade4a39d079c9f418740b45b4d6121ce (patch)
tree952f34e598c1aa33afc7c701f99a2b8421e8629b /shared-bindings/microcontroller
parentda449723df14623647729954dd5427101070d01c (diff)
Add alarm_touch module
Diffstat (limited to 'shared-bindings/microcontroller')
-rw-r--r--shared-bindings/microcontroller/__init__.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/shared-bindings/microcontroller/__init__.c b/shared-bindings/microcontroller/__init__.c
index eb58a4098..88dc4179d 100644
--- a/shared-bindings/microcontroller/__init__.c
+++ b/shared-bindings/microcontroller/__init__.c
@@ -135,15 +135,6 @@ STATIC mp_obj_t mcu_reset(void) {
}
STATIC MP_DEFINE_CONST_FUN_OBJ_0(mcu_reset_obj, mcu_reset);
-//| def sleep() -> None:
-//| """Microcontroller will go into deep sleep.
-//| cpy will restart when wakeup func. is triggered`.
-//|
-//| .. warning:: This may result in file system corruption when connected to a
-//| host computer. Be very careful when calling this! Make sure the device
-//| "Safely removed" on Windows or "ejected" on Mac OSX and Linux."""
-//| ...
-//|
STATIC mp_obj_t mcu_sleep(void) {
common_hal_mcu_sleep();
// We won't actually get here because mcu is going into sleep.