cc3200: Remove unused NIC type customisation.
See the previous commit, except in this case the customisation didn't actually do anything so can just be removed. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
This commit is contained in:
parent
5f8f32f917
commit
68090cc6cd
@ -35,11 +35,6 @@
|
||||
/******************************************************************************
|
||||
DEFINE TYPES
|
||||
******************************************************************************/
|
||||
typedef struct _mod_network_nic_type_t {
|
||||
// Ensure that this struct is big enough to hold any type size.
|
||||
mp_obj_full_type_t base;
|
||||
} mod_network_nic_type_t;
|
||||
|
||||
typedef struct _mod_network_socket_base_t {
|
||||
union {
|
||||
struct {
|
||||
@ -64,7 +59,7 @@ typedef struct _mod_network_socket_obj_t {
|
||||
/******************************************************************************
|
||||
EXPORTED DATA
|
||||
******************************************************************************/
|
||||
extern const mod_network_nic_type_t mod_network_nic_type_wlan;
|
||||
extern const mp_obj_type_t mod_network_nic_type_wlan;
|
||||
|
||||
/******************************************************************************
|
||||
DECLARE FUNCTIONS
|
||||
|
@ -1285,18 +1285,14 @@ STATIC const mp_rom_map_elem_t wlan_locals_dict_table[] = {
|
||||
};
|
||||
STATIC MP_DEFINE_CONST_DICT(wlan_locals_dict, wlan_locals_dict_table);
|
||||
|
||||
STATIC MP_DEFINE_CONST_OBJ_FULL_TYPE(
|
||||
mod_network_nic_type_wlan_base,
|
||||
MP_DEFINE_CONST_OBJ_TYPE(
|
||||
mod_network_nic_type_wlan,
|
||||
MP_QSTR_WLAN,
|
||||
MP_TYPE_FLAG_NONE,
|
||||
make_new, wlan_make_new,
|
||||
locals_dict, &wlan_locals_dict
|
||||
);
|
||||
|
||||
const mod_network_nic_type_t mod_network_nic_type_wlan = {
|
||||
.base = mod_network_nic_type_wlan_base,
|
||||
};
|
||||
|
||||
STATIC const mp_irq_methods_t wlan_irq_methods = {
|
||||
.init = wlan_irq,
|
||||
.enable = wlan_lpds_irq_enable,
|
||||
|
Loading…
Reference in New Issue
Block a user