diff options
| author | Sean Cross <sean@xobs.io> | 2020-05-21 13:47:23 +0800 |
|---|---|---|
| committer | Sean Cross <sean@xobs.io> | 2020-05-27 11:28:49 +0800 |
| commit | 595f6387c2a4f1c919cfab80b07493820ac0051b (patch) | |
| tree | 40e96e0fcf52ced0cf6dc48bc3aef317af3f58a4 /shared-bindings/microcontroller/__init__.h | |
| parent | c23f151b6b64011a97752b85e97d1d06b70b73d4 (diff) | |
watchdog: rename module from `wdt` and move to `microcontroller`
This also places it under the `microcontroller` object.
Signed-off-by: Sean Cross <sean@xobs.io>
Diffstat (limited to 'shared-bindings/microcontroller/__init__.h')
| -rw-r--r-- | shared-bindings/microcontroller/__init__.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/shared-bindings/microcontroller/__init__.h b/shared-bindings/microcontroller/__init__.h index e1487c555..6d61c527e 100644 --- a/shared-bindings/microcontroller/__init__.h +++ b/shared-bindings/microcontroller/__init__.h @@ -49,10 +49,13 @@ extern const mcu_processor_obj_t common_hal_mcu_processor_obj; #if CIRCUITPY_INTERNAL_NVM_SIZE > 0 - #include "common-hal/nvm/ByteArray.h" extern const nvm_bytearray_obj_t common_hal_mcu_nvm_obj; +#endif +#if CIRCUITPY_WATCHDOG +#include "common-hal/watchdog/__init__.h" +extern const watchdog_obj_t common_hal_mcu_watchdog_obj; #endif #endif // MICROPY_INCLUDED_SHARED_BINDINGS_MICROCONTROLLER___INIT___H |
