mirror of
https://github.com/tio/tio.git
synced 2026-05-01 14:57:59 +02:00
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:
parent
9022f51ea5
commit
d34fa1c1ad
5 changed files with 30 additions and 30 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue