add deinit func in sal wrapper and ec20

This commit is contained in:
mculover666
2020-08-11 19:20:25 +08:00
parent 5656dca3ad
commit 96b0c8c37c
4 changed files with 34 additions and 5 deletions

View File

@@ -63,6 +63,17 @@ typedef struct sal_module_st {
*/
int tos_sal_module_register(sal_module_t *module);
/**
* @brief Register a default sal module.
*
* @attention None
*
* @param[in] None
*
* @return errcode
*/
int tos_sal_module_register_default(void);
/**
* @brief Initialize the module.
*