mirror of https://github.com/rusefi/rusefi-1.git
smart diag into bench test
This commit is contained in:
parent
f5b1191d85
commit
2b7357cc68
|
@ -71,7 +71,7 @@ void benchOn(OutputPin* output) {
|
||||||
static char pin_error[64];
|
static char pin_error[64];
|
||||||
|
|
||||||
void benchOff(OutputPin* output) {
|
void benchOff(OutputPin* output) {
|
||||||
#if EFI_PROD_CODE
|
#if EFI_PROD_CODE && #if (BOARD_EXT_GPIOCHIPS > 0)
|
||||||
brain_pin_diag_e diag = gpiochips_getDiag(output->brainPin);
|
brain_pin_diag_e diag = gpiochips_getDiag(output->brainPin);
|
||||||
if (diag == PIN_INVALID) {
|
if (diag == PIN_INVALID) {
|
||||||
efiPrintf("No Diag on this pin");
|
efiPrintf("No Diag on this pin");
|
||||||
|
|
Loading…
Reference in New Issue