if(i == N_BAUDRATES){
printf_err("baudrate %d bps is not supported, will use current: %d bps\n",
load_baudrate, current_baudrate);
+
+ load_baudrate = current_baudrate;
} else {
switch_baudrate(load_baudrate, 0);
}
if(i == N_BAUDRATES){
printf_err("baudrate %d bps is not supported, will use current: %d bps\n",
save_baudrate, current_baudrate);
+
+ save_baudrate = current_baudrate;
} else {
switch_baudrate(save_baudrate, 0);
}
if(i == N_BAUDRATES){
printf_err("baudrate %d bps is not supported, will use current: %d bps\n",
load_baudrate, current_baudrate);
+
+ load_baudrate = current_baudrate;
} else {
switch_baudrate(load_baudrate, 0);
}