Closed gudnimg closed 2 years ago
If QUEUE_FULL error happened, it would be overwritten as INTERNAL and incorrectly display FW_RUNTIME_ERRORon MK3S.
QUEUE_FULL
INTERNAL
FW_RUNTIME_ERROR
The fix is to add handling for ERRInternal in every StepInner() and forward the error to higher application layer.
ERRInternal
StepInner()
Steps to reproduce:
blockBufferSize = 1
config.h
Running the steps above:
If
QUEUE_FULL
error happened, it would be overwritten asINTERNAL
and incorrectly displayFW_RUNTIME_ERROR
on MK3S.The fix is to add handling for
ERRInternal
in everyStepInner()
and forward the error to higher application layer.Steps to reproduce:
blockBufferSize = 1
inconfig.h
FW_RUNTIME_ERROR
when it should actually beQUEUE_FULL
.Running the steps above: