Rename mapping flag MSB2LSB to IMSB2LSB

This is the correct naming since we are changing the input bit order on
input from the serial device.
This commit is contained in:
Martin Lund 2024-06-29 12:14:29 +02:00
parent 9022f51ea5
commit d34fa1c1ad
5 changed files with 30 additions and 30 deletions

View file

@ -118,7 +118,7 @@ struct option_t option =
.map_o_del_bs = false,
.map_o_ltu = false,
.map_o_nulbrk = false,
.map_o_msblsb = false,
.map_i_msb2lsb = false,
.map_o_ign_cr = false,
};
@ -773,9 +773,9 @@ void option_parse_mappings(const char *map)
{
option.map_o_ign_cr = true;
}
else if (strcmp(token, "MSB2LSB") == 0)
else if (strcmp(token, "IMSB2LSB") == 0)
{
option.map_o_msblsb = true;
option.map_i_msb2lsb = true;
}
else
{