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:
@ -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:
|
||||
|
Reference in New Issue
Block a user