TS protocol debugging #336
This commit is contained in:
parent
70f6201a8e
commit
df1371c734
|
@ -732,8 +732,10 @@ void updateTunerStudioState(TunerStudioOutputChannels *tsOutputChannels DECLARE_
|
||||||
if (engineConfiguration->debugMode == DBG_TPS_ACCEL) {
|
if (engineConfiguration->debugMode == DBG_TPS_ACCEL) {
|
||||||
tsOutputChannels->debugIntField1 = engine->tpsAccelEnrichment.cb.getSize();
|
tsOutputChannels->debugIntField1 = engine->tpsAccelEnrichment.cb.getSize();
|
||||||
} else if (engineConfiguration->debugMode == DBG_SR5_PROTOCOL) {
|
} else if (engineConfiguration->debugMode == DBG_SR5_PROTOCOL) {
|
||||||
tsOutputChannels->debugIntField1 = tsState.textCommandCounter * 1000000 + tsState.burnCommandCounter + tsState.totalCounter;
|
int _10_6 = 100000;
|
||||||
tsOutputChannels->debugIntField2 = tsState.outputChannelsCommandCounter * 100000 + tsState.readPageCommandsCounter * 1000 + tsState.writeValueCommandCounter;
|
tsOutputChannels->debugIntField1 = tsState.textCommandCounter * _10_6 + tsState.totalCounter;
|
||||||
|
tsOutputChannels->debugIntField2 = tsState.outputChannelsCommandCounter * _10_6 + tsState.writeValueCommandCounter;
|
||||||
|
tsOutputChannels->debugIntField3 = tsState.readPageCommandsCounter * _10_6 + tsState.burnCommandCounter;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (engineConfiguration->debugMode == DBG_TRIGGER_INPUT) {
|
if (engineConfiguration->debugMode == DBG_TRIGGER_INPUT) {
|
||||||
|
|
Loading…
Reference in New Issue