Home
last modified time | relevance | path

Searched refs:new_descr (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-3.6.0/components/freemodbus/common/
Desp_modbus_slave.c227 mb_descr_entry_t* new_descr = (mb_descr_entry_t*) heap_caps_malloc(sizeof(mb_descr_entry_t), in mbc_slave_set_descriptor() local
229 … MB_SLAVE_CHECK((new_descr != NULL), ESP_ERR_NO_MEM, "mb can not allocate memory for descriptor."); in mbc_slave_set_descriptor()
230 new_descr->start_offset = descr_data.start_offset; in mbc_slave_set_descriptor()
231 new_descr->type = descr_data.type; in mbc_slave_set_descriptor()
232 new_descr->p_data = descr_data.address; in mbc_slave_set_descriptor()
233 new_descr->size = descr_data.size; in mbc_slave_set_descriptor()
234 LIST_INSERT_HEAD(&mbs_opts->mbs_area_descriptors[descr_data.type], new_descr, entries); in mbc_slave_set_descriptor()