mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-25 16:57:20 +00:00
[compoenets] auto & manual formatted
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2006-2018, RT-Thread Development Team
|
||||
* Copyright (c) 2006-2021, RT-Thread Development Team
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*
|
||||
@@ -43,12 +43,12 @@ void* dlopen(const char *filename, int flags)
|
||||
/* find in module list */
|
||||
module = dlmodule_find(fullpath);
|
||||
|
||||
if(module != RT_NULL)
|
||||
if(module != RT_NULL)
|
||||
{
|
||||
rt_exit_critical();
|
||||
module->nref++;
|
||||
}
|
||||
else
|
||||
else
|
||||
{
|
||||
rt_exit_critical();
|
||||
module = dlmodule_load(fullpath);
|
||||
|
||||
Reference in New Issue
Block a user