Fix esp32 build errors
This commit is contained in:
parent
21e2dfaee2
commit
317483785f
|
@ -190,10 +190,13 @@ STATIC MP_DEFINE_CONST_DICT(ipaddress_ipv4address_locals_dict, ipaddress_ipv4add
|
|||
|
||||
const mp_obj_type_t ipaddress_ipv4address_type = {
|
||||
{ &mp_type_type },
|
||||
.flags = MP_TYPE_FLAG_FULL,
|
||||
.name = MP_QSTR_Address,
|
||||
.make_new = ipaddress_ipv4address_make_new,
|
||||
.locals_dict = (mp_obj_dict_t *)&ipaddress_ipv4address_locals_dict,
|
||||
.print = ipaddress_ipv4address_print,
|
||||
.unary_op = ipaddress_ipv4address_unary_op,
|
||||
.binary_op = ipaddress_ipv4address_binary_op,
|
||||
.locals_dict = (mp_obj_dict_t *)&ipaddress_ipv4address_locals_dict
|
||||
EXTENDED_FIELDS(
|
||||
.unary_op = ipaddress_ipv4address_unary_op,
|
||||
.binary_op = ipaddress_ipv4address_binary_op,
|
||||
)
|
||||
};
|
||||
|
|
|
@ -409,7 +409,10 @@ STATIC MP_DEFINE_CONST_DICT(socketpool_socket_locals_dict, socketpool_socket_loc
|
|||
|
||||
const mp_obj_type_t socketpool_socket_type = {
|
||||
{ &mp_type_type },
|
||||
.flags = MP_TYPE_FLAG_FULL,
|
||||
.name = MP_QSTR_Socket,
|
||||
.locals_dict = (mp_obj_dict_t *)&socketpool_socket_locals_dict,
|
||||
.unary_op = socketpool_socket_unary_op,
|
||||
EXTENDED_FIELDS(
|
||||
.unary_op = socketpool_socket_unary_op,
|
||||
)
|
||||
};
|
||||
|
|
|
@ -320,7 +320,10 @@ STATIC MP_DEFINE_CONST_DICT(ssl_sslsocket_locals_dict, ssl_sslsocket_locals_dict
|
|||
|
||||
const mp_obj_type_t ssl_sslsocket_type = {
|
||||
{ &mp_type_type },
|
||||
.flags = MP_TYPE_FLAG_FULL,
|
||||
.name = MP_QSTR_SSLSocket,
|
||||
.locals_dict = (mp_obj_dict_t *)&ssl_sslsocket_locals_dict,
|
||||
.unary_op = ssl_sslsocket_unary_op,
|
||||
EXTENDED_FIELDS(
|
||||
.unary_op = ssl_sslsocket_unary_op,
|
||||
)
|
||||
};
|
||||
|
|
|
@ -63,7 +63,10 @@ STATIC mp_obj_t scannednetworks_iternext(mp_obj_t self_in) {
|
|||
|
||||
const mp_obj_type_t wifi_scannednetworks_type = {
|
||||
{ &mp_type_type },
|
||||
.flags = MP_TYPE_FLAG_FULL,
|
||||
.name = MP_QSTR_ScannedNetworks,
|
||||
.getiter = mp_identity_getiter,
|
||||
.iternext = scannednetworks_iternext,
|
||||
EXTENDED_FIELDS(
|
||||
.getiter = mp_identity_getiter,
|
||||
.iternext = scannednetworks_iternext,
|
||||
)
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue