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…
Reference in New Issue