trigger signal debug pins - logic level output #2959
This commit is contained in:
parent
5c2477752e
commit
74e5eb8bb7
|
@ -36,8 +36,7 @@ bool isBrainPinValid(brain_pin_e brainPin)
|
|||
return true;
|
||||
}
|
||||
|
||||
static int brainPin_to_index(brain_pin_e brainPin)
|
||||
{
|
||||
int brainPin_to_index(brain_pin_e brainPin) {
|
||||
unsigned int i;
|
||||
|
||||
if (brainPin < GPIOA_0)
|
||||
|
|
|
@ -54,6 +54,7 @@ EXTERNC void gpio_pin_markUnused(ioportid_t port, ioportmask_t pin);
|
|||
int getPortPinIndex(ioportid_t port, ioportmask_t pin);
|
||||
ioportid_t getBrainPinPort(brain_pin_e brainPin);
|
||||
int getBrainPinIndex(brain_pin_e brainPin);
|
||||
int brainPin_to_index(brain_pin_e brainPin);
|
||||
unsigned int getBrainPinOnchipNum(void);
|
||||
unsigned int getBrainPinTotalNum(void);
|
||||
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
#include "sensor.h"
|
||||
#include "tooth_logger.h"
|
||||
#include "logicdata.h"
|
||||
#include "hardware.h"
|
||||
|
||||
#if EFI_ENGINE_SNIFFER
|
||||
#include "engine_sniffer.h"
|
||||
|
@ -111,6 +112,8 @@ EngineTestHelper::EngineTestHelper(engine_type_e engineType, configuration_callb
|
|||
engine->mockAirmassModel = &mockAirmass;
|
||||
|
||||
memset(mockPinStates, 0, sizeof(mockPinStates));
|
||||
|
||||
initHardware(PASS_ENGINE_PARAMETER_SIGNATURE);
|
||||
}
|
||||
|
||||
EngineTestHelper::~EngineTestHelper() {
|
||||
|
|
Loading…
Reference in New Issue