mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-11-16 12:34:45 +00:00
ss555/dev/console-generic.c: Address missing field initializer warnings
This was in a termios structure. The initialization was changed to using named fields. Updates #5325.
This commit is contained in:
committed by
Kinsey Moore
parent
ebcfc3db27
commit
a555b7d292
@@ -72,12 +72,12 @@ int init_calls = 0;
|
||||
* Default configuration.
|
||||
*/
|
||||
static struct termios default_termios = {
|
||||
0, /* input mode flags */
|
||||
0, /* output mode flags */
|
||||
0, /* local mode flags */
|
||||
0, /* line discipline */
|
||||
{ 0 }, /* control characters */
|
||||
CS8 | CREAD | CLOCAL | B9600, /* control mode flags */
|
||||
.c_iflag = 0, /* input mode flags */
|
||||
.c_oflag = 0, /* output mode flags */
|
||||
.c_cflag = 0, /* local mode flags */
|
||||
.c_lflag = 0, /* line discipline */
|
||||
.c_cc = { 0 }, /* control characters */
|
||||
.c_ispeed = CS8 | CREAD | CLOCAL | B9600, /* control mode flags */
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user