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();
|
SendFINDAQuery();
|
||||||
return Processing;
|
return Processing;
|
||||||
case ScopeState::FINDAReqSent:
|
case ScopeState::FINDAReqSent:
|
||||||
|
findaPressed = rsp.paramValue;
|
||||||
SendReadRegister(4, ScopeState::StatisticsSent);
|
SendReadRegister(4, ScopeState::StatisticsSent);
|
||||||
scopeState = ScopeState::StatisticsSent;
|
scopeState = ScopeState::StatisticsSent;
|
||||||
return Processing;
|
return Processing;
|
||||||
|
|
@ -392,6 +393,7 @@ StepStatus ProtocolLogic::IdleStep() {
|
||||||
SendFINDAQuery();
|
SendFINDAQuery();
|
||||||
return Processing;
|
return Processing;
|
||||||
case ScopeState::FINDAReqSent:
|
case ScopeState::FINDAReqSent:
|
||||||
|
findaPressed = rsp.paramValue;
|
||||||
SendReadRegister(4, ScopeState::StatisticsSent);
|
SendReadRegister(4, ScopeState::StatisticsSent);
|
||||||
scopeState = ScopeState::StatisticsSent;
|
scopeState = ScopeState::StatisticsSent;
|
||||||
return Processing;
|
return Processing;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue