进一步迭代优化统一管理
This commit is contained in:
@ -37,16 +37,16 @@ const bsp_board_config_t* bsp_board_get_by_name(const char* name);
|
||||
/**
|
||||
* @brief Set current board configuration by index
|
||||
* @param index: Board configuration index
|
||||
* @retval 0 if successful, -1 if invalid index
|
||||
* @retval HAL status code
|
||||
*/
|
||||
int8_t bsp_board_set_by_index(uint8_t index);
|
||||
hal_ret_t bsp_board_set_by_index(uint8_t index);
|
||||
|
||||
/**
|
||||
* @brief Set current board configuration by name
|
||||
* @param name: Board name string
|
||||
* @retval 0 if successful, -1 if not found
|
||||
* @retval HAL status code
|
||||
*/
|
||||
int8_t bsp_board_set_by_name(const char* name);
|
||||
hal_ret_t bsp_board_set_by_name(const char* name);
|
||||
|
||||
/**
|
||||
* @brief Get current board configuration
|
||||
|
||||
Reference in New Issue
Block a user