summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Cross <sean@xobs.io>2020-05-21 18:38:48 +0800
committerSean Cross <sean@xobs.io>2020-05-27 11:28:49 +0800
commit87737fb50ac23760ad11f5d23d87dd9020ab5f20 (patch)
treead7c847f0c75dd74f8c05c36f45474b3e15ec85c
parent8f46133917c07c75bde4efdc96f83f18070642e4 (diff)
watchdog: fix documentation build error
Signed-off-by: Sean Cross <sean@xobs.io>
-rw-r--r--shared-bindings/watchdog/__init__.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/shared-bindings/watchdog/__init__.c b/shared-bindings/watchdog/__init__.c
index 8289bb88a..21e87d515 100644
--- a/shared-bindings/watchdog/__init__.c
+++ b/shared-bindings/watchdog/__init__.c
@@ -28,7 +28,6 @@
#include "py/runtime.h"
#include "shared-bindings/watchdog/__init__.h"
-// #include "shared-bindings/wdt/WDT.h"
//| """Watchdog Timer
//|
@@ -44,7 +43,7 @@
//|
//| Note that this module can't be imported and used directly. The sole
//| instance of :class:`WatchDogTimer` is available at
-//| :attr:`microcontroller.watchdog`."""
+//| :attr:`microcontroller.watchdog`.
//|
//| Example usage::
//|
@@ -52,15 +51,3 @@
//| wdt = WatchDogTimer(timeout=2.5) # enable it with a timeout of 2.5 seconds
//| wdt.feed()"""
//|
-
-// STATIC const mp_rom_map_elem_t wdt_module_globals_table[] = {
-// { MP_ROM_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_wdt) },
-// { MP_ROM_QSTR(MP_QSTR_WDT), MP_ROM_PTR(&wdt_wdt_type) },
-// };
-
-// STATIC MP_DEFINE_CONST_DICT(wdt_module_globals, wdt_module_globals_table);
-
-// const mp_obj_module_t wdt_module = {
-// .base = { &mp_type_module },
-// .globals = (mp_obj_dict_t*)&wdt_module_globals,
-// };