Forums › General Discussions › shr_parser errors › Reply To: shr_parser errors
March 30, 2026 at 12:01 pm #255018
Moderator
Hi Joe,
Looks like an incomplete branch. Looks like it was copied from the branch above and not finished.
It should probably look more like this,
if(state.header.decimationDetector == SHRDecimationDetectorAvg) {
printf("Averaged trace(s) for %.2f seconds per output trace\n", state.header.decimationTimeMs / 1000.0);
} else {
printf("Max held trace(s) for %.2f seconds per output trace\n", state.header.decimationTimeMs / 1000.0);
}
This is untested, but I think is closer to what was intended. If you are able to try that, let me know if it prints what you expect.
