mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-03-28 10:12:09 +08:00
fixed finsh_sysvar_append bug.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1996 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
@@ -108,7 +108,7 @@ void finsh_sysvar_append(const char* name, u_char type, void* var_addr)
|
||||
else
|
||||
{
|
||||
item->next = global_sysvar_list;
|
||||
global_sysvar_list->next = item;
|
||||
global_sysvar_list = item;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user