Skip to content

Commit a3a33db

Browse files
author
danicampora
committed
cc3200: Enable WLAN irq on creation.
1 parent ca9eb81 commit a3a33db

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

cc3200/mods/modwlan.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1187,6 +1187,9 @@ STATIC mp_obj_t wlan_irq (mp_uint_t n_args, const mp_obj_t *pos_args, mp_map_t *
11871187
mp_obj_t _irq = mp_irq_new (self, args[2].u_obj, &wlan_irq_methods);
11881188
self->irq_obj = _irq;
11891189

1190+
// enable the irq just before leaving
1191+
wlan_lpds_irq_enable(self);
1192+
11901193
return _irq;
11911194

11921195
invalid_args:

0 commit comments

Comments
 (0)