1
0
mirror of https://github.com/UzixLS/picocom.git synced 2025-07-19 07:21:18 +03:00

More enum type fixes

Try not to use lose enum type information through ints.
This commit is contained in:
David Leonard
2018-02-10 11:51:39 +10:00
parent a412f6583a
commit 8814974ac7
2 changed files with 6 additions and 4 deletions

View File

@ -853,7 +853,7 @@ baud_down (int baud)
}
enum flowcntrl_e
flow_next (int flow)
flow_next (enum flowcntrl_e flow)
{
switch(flow) {
case FC_NONE:
@ -874,7 +874,7 @@ flow_next (int flow)
}
enum parity_e
parity_next (int parity)
parity_next (enum parity_e parity)
{
switch(parity) {
case P_NONE: