fixed compiling warning.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2040 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
12b5decaa9
commit
5cc877fa24
|
@ -74,7 +74,7 @@ void rt_console_init(const char* device_name)
|
||||||
console->parent.close = console_close;
|
console->parent.close = console_close;
|
||||||
console->parent.read = console_read;
|
console->parent.read = console_read;
|
||||||
console->parent.write = console_write;
|
console->parent.write = console_write;
|
||||||
console->parent.control = RT_NULL;
|
console->parent.control = console_control;
|
||||||
console->parent.user_data = RT_NULL;
|
console->parent.user_data = RT_NULL;
|
||||||
|
|
||||||
console->device = device;
|
console->device = device;
|
||||||
|
|
Loading…
Reference in New Issue