trigger signal debug pins - logic level output #2959
This commit is contained in:
parent
4750aa2efa
commit
f028c4d727
|
@ -177,6 +177,10 @@ void hwHandleVvtCamSignal(trigger_value_e front, efitick_t nowNt, int index DECL
|
|||
return;
|
||||
}
|
||||
|
||||
if (isImportantFront && CONFIG(camInputsDebug[index]) != GPIO_UNASSIGNED) {
|
||||
|
||||
}
|
||||
|
||||
if (CONFIG(displayLogicLevelsInEngineSniffer) && isImportantFront) {
|
||||
if (CONFIG(vvtCamSensorUseRise)) {
|
||||
// todo: unify TS composite logger code with console Engine Sniffer
|
||||
|
|
|
@ -138,11 +138,15 @@ void stopTriggerInputPins(void) {
|
|||
if (isConfigurationChanged(triggerInputPins[i])) {
|
||||
turnOffTriggerInputPin(i, true);
|
||||
}
|
||||
if (isConfigurationChanged(triggerInputDebugPins[i])) {
|
||||
}
|
||||
}
|
||||
for (int i = 0; i < CAM_INPUTS_COUNT; i++) {
|
||||
if (isConfigurationChanged(camInputs[i])) {
|
||||
turnOffTriggerInputPin(i, false);
|
||||
}
|
||||
if (isConfigurationChanged(camInputsDebug[i])) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -152,12 +156,16 @@ void startTriggerInputPins(void) {
|
|||
const char * msg = (i == 0 ? "Trigger #1" : (i == 1 ? "Trigger #2" : "Trigger #3"));
|
||||
turnOnTriggerInputPin(msg, i, true);
|
||||
}
|
||||
if (isConfigurationChanged(triggerInputDebugPins[i])) {
|
||||
}
|
||||
}
|
||||
|
||||
for (int i = 0; i < CAM_INPUTS_COUNT; i++) {
|
||||
if (isConfigurationChanged(camInputs[i])) {
|
||||
turnOnTriggerInputPin("Cam", i, false);
|
||||
}
|
||||
if (isConfigurationChanged(camInputsDebug[i])) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue