Cleanup ExpectsResponse usage

This commit is contained in:
D.R.racer 2022-09-01 07:48:57 +02:00
parent d5377c1781
commit 18423685b6
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ StepStatus ProtocolLogic::ProcessVersionResponse(uint8_t stage) {
}
StepStatus ProtocolLogic::ScopeStep() {
if ((uint_fast8_t)scopeState & (uint8_t)ScopeState::NotExpectsResponse) {
if ( ! ExpectsResponse() ) {
// we are waiting for something
switch (currentScope) {
case Scope::DelayedRestart: