Skip to content

Commit 87737fb

Browse files
committed
watchdog: fix documentation build error
Signed-off-by: Sean Cross <sean@xobs.io>
1 parent 8f46133 commit 87737fb

1 file changed

Lines changed: 1 addition & 14 deletions

File tree

‎shared-bindings/watchdog/__init__.c‎

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828

2929
#include "py/runtime.h"
3030
#include "shared-bindings/watchdog/__init__.h"
31-
// #include "shared-bindings/wdt/WDT.h"
3231

3332
//| """Watchdog Timer
3433
//|
@@ -44,23 +43,11 @@
4443
//|
4544
//| Note that this module can't be imported and used directly. The sole
4645
//| instance of :class:`WatchDogTimer` is available at
47-
//| :attr:`microcontroller.watchdog`."""
46+
//| :attr:`microcontroller.watchdog`.
4847
//|
4948
//| Example usage::
5049
//|
5150
//| from microcontroller.watchdog import WatchDogTimer
5251
//| wdt = WatchDogTimer(timeout=2.5) # enable it with a timeout of 2.5 seconds
5352
//| wdt.feed()"""
5453
//|
55-
56-
// STATIC const mp_rom_map_elem_t wdt_module_globals_table[] = {
57-
// { MP_ROM_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_wdt) },
58-
// { MP_ROM_QSTR(MP_QSTR_WDT), MP_ROM_PTR(&wdt_wdt_type) },
59-
// };
60-
61-
// STATIC MP_DEFINE_CONST_DICT(wdt_module_globals, wdt_module_globals_table);
62-
63-
// const mp_obj_module_t wdt_module = {
64-
// .base = { &mp_type_module },
65-
// .globals = (mp_obj_dict_t*)&wdt_module_globals,
66-
// };

0 commit comments

Comments
 (0)