mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-30 05:10:26 +08:00
rename the private field in device to user_data.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1134 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
5a4d618832
commit
5d8c15c4bb
@ -75,7 +75,7 @@ void rt_console_init(const char* device_name)
|
||||
console->parent.read = console_read;
|
||||
console->parent.write = console_write;
|
||||
console->parent.control = RT_NULL;
|
||||
console->parent.private = RT_NULL;
|
||||
console->parent.user_data = RT_NULL;
|
||||
|
||||
console->device = device;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user