reverse previous modification

This commit is contained in:
Laurent Vivier 2007-09-15 05:29:18 +00:00
parent 920aca763f
commit ac5de6e43d

View File

@ -205,11 +205,8 @@ void serial_init(emile_l2_header_t* info)
{
int res;
int bitrate, parity, datasize, stopbits;
int8_t *configuration;
configuration = open_config(info);
res = read_config_modem(configuration,
res = read_config_modem(info,
&bitrate, &parity, &datasize, &stopbits);
if (res == -1)
{
@ -257,7 +254,7 @@ void serial_init(emile_l2_header_t* info)
#endif /* USE_CLI */
}
res = read_config_printer(configuration,
res = read_config_printer(info,
&bitrate, &parity, &datasize, &stopbits);
if (res == -1)
{
@ -305,7 +302,6 @@ void serial_init(emile_l2_header_t* info)
}
#endif /* USE_CLI */
}
close_config(configuration);
}
#ifdef USE_CLI