Fix an issue where findaPressed is never set
This caused instant FINDA runout when the print starts. Now fixed :)
This commit is contained in:
parent
b292a5bf4e
commit
1010f23959
|
|
@ -316,6 +316,7 @@ StepStatus ProtocolLogic::CommandStep() {
|
|||
SendFINDAQuery();
|
||||
return Processing;
|
||||
case ScopeState::FINDAReqSent:
|
||||
findaPressed = rsp.paramValue;
|
||||
SendReadRegister(4, ScopeState::StatisticsSent);
|
||||
scopeState = ScopeState::StatisticsSent;
|
||||
return Processing;
|
||||
|
|
@ -392,6 +393,7 @@ StepStatus ProtocolLogic::IdleStep() {
|
|||
SendFINDAQuery();
|
||||
return Processing;
|
||||
case ScopeState::FINDAReqSent:
|
||||
findaPressed = rsp.paramValue;
|
||||
SendReadRegister(4, ScopeState::StatisticsSent);
|
||||
scopeState = ScopeState::StatisticsSent;
|
||||
return Processing;
|
||||
|
|
|
|||
Loading…
Reference in New Issue