cc3200: Enable WLAN irq on creation.

This commit is contained in:
danicampora 2015-10-22 22:57:45 +02:00
parent ca9eb81d0b
commit a3a33db409
1 changed files with 3 additions and 0 deletions

View File

@ -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: