Merge pull request #33 from perfectco/master

Add default cases to prevent warnings
This commit is contained in:
朱天龙 (Armink) 2018-12-21 14:19:22 +08:00 committed by GitHub
commit 8f449ebd99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 0 deletions

View File

@ -381,7 +381,11 @@ eMBMasterPoll( void )
}
vMBMasterRunResRelease();
break;
default:
break;
}
}
return MB_ENOERR;
}

View File

@ -339,6 +339,9 @@ xMBMasterRTUTransmitFSM( void )
}
}
break;
default:
break;
}
return xNeedPoll;