mirror of
https://git.rtems.org/rtems-docs/
synced 2025-05-17 15:41:42 +08:00
bsp-howto/console: Move misplaced var. in example
Signed-off-by: Martin Erik Werner <martinerikwerner@gmail.com>
This commit is contained in:
parent
33849946ff
commit
c6066d4532
@ -184,6 +184,7 @@ characters from ``buf`` to the serial device specified by ``base``.
|
||||
)
|
||||
{
|
||||
my_driver_context *ctx;
|
||||
size_t i;
|
||||
|
||||
ctx = (my_driver_context *) base;
|
||||
|
||||
@ -201,7 +202,6 @@ available, then the routine should immediately return minus one.
|
||||
static int my_driver_poll_read( rtems_termios_device_context *base )
|
||||
{
|
||||
my_driver_context *ctx;
|
||||
size_t i;
|
||||
|
||||
ctx = (my_driver_context *) base;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user