mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-10-21 07:11:14 +08:00
根据documentation/coding_style_cn.txt约定 对内核src和include目录下的文件代码进行格式化
This commit is contained in:
@@ -1290,7 +1290,8 @@ void (*rt_assert_hook)(const char* ex, const char* func, rt_size_t line);
|
|||||||
*
|
*
|
||||||
* @param hook the hook function
|
* @param hook the hook function
|
||||||
*/
|
*/
|
||||||
void rt_assert_set_hook(void (*hook)(const char* ex, const char* func, rt_size_t line)) {
|
void rt_assert_set_hook(void (*hook)(const char *ex, const char *func, rt_size_t line))
|
||||||
|
{
|
||||||
rt_assert_hook = hook;
|
rt_assert_hook = hook;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user