Fix SocketPool radio check

This commit is contained in:
Scott Shawcroft 2020-08-25 16:15:00 -07:00
parent 69fc872944
commit f3bc712539
No known key found for this signature in database
GPG Key ID: 0DFD512649C052DA
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ STATIC mp_obj_t socketpool_socketpool_make_new(const mp_obj_type_t *type, size_t
socketpool_socketpool_obj_t *s = m_new_obj_with_finaliser(socketpool_socketpool_obj_t); socketpool_socketpool_obj_t *s = m_new_obj_with_finaliser(socketpool_socketpool_obj_t);
s->base.type = &socketpool_socketpool_type; s->base.type = &socketpool_socketpool_type;
mp_obj_t radio = args[1]; mp_obj_t radio = args[0];
common_hal_socketpool_socketpool_construct(s, radio); common_hal_socketpool_socketpool_construct(s, radio);