Home
last modified time | relevance | path

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

/AliOS-Things-master/components/py_engine/modules/driver/
A Dboard_mgr.c409 char *i2c_id = strdup(id); in board_parse_i2c() local
411 ret = board_add_new_item(MODULE_I2C, i2c_id, new_i2c); in board_parse_i2c()
415 if (NULL != i2c_id) { in board_parse_i2c()
416 aos_free(i2c_id); in board_parse_i2c()
417 i2c_id = NULL; in board_parse_i2c()
/AliOS-Things-master/components/amp/services/board_mgr/
A Dboard_mgr.c459 char *i2c_id = strdup(id); in board_parse_i2c() local
461 ret = board_add_new_item(MODULE_I2C, i2c_id, new_i2c); in board_parse_i2c()
466 if (NULL != i2c_id) in board_parse_i2c()
468 amp_free(i2c_id); in board_parse_i2c()
469 i2c_id = NULL; in board_parse_i2c()

Completed in 6 milliseconds