diff options
| author | danicampora | 2015-10-22 22:57:45 +0200 |
|---|---|---|
| committer | danicampora | 2015-10-25 21:31:42 +0100 |
| commit | a3a33db40921494901b18f535104c98dd7a7216a (patch) | |
| tree | be85958722ca0afefba61ff3e685f3d655f28907 /cc3200 | |
| parent | ca9eb81d0b8624bfee6dac7b062747b01e8aeb4b (diff) | |
cc3200: Enable WLAN irq on creation.
Diffstat (limited to 'cc3200')
| -rw-r--r-- | cc3200/mods/modwlan.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cc3200/mods/modwlan.c b/cc3200/mods/modwlan.c index 920b0d472..05f693537 100644 --- a/cc3200/mods/modwlan.c +++ b/cc3200/mods/modwlan.c @@ -1187,6 +1187,9 @@ STATIC mp_obj_t wlan_irq (mp_uint_t n_args, const mp_obj_t *pos_args, mp_map_t * mp_obj_t _irq = mp_irq_new (self, args[2].u_obj, &wlan_irq_methods); self->irq_obj = _irq; + // enable the irq just before leaving + wlan_lpds_irq_enable(self); + return _irq; invalid_args: |
