mirror of
https://github.com/micropython/micropython.git
synced 2026-01-06 12:10:13 +01:00
cc3200: Enable WLAN irq on creation.
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user