smart diag into bench test

This commit is contained in:
rusefillc 2022-01-03 18:07:22 -05:00
parent f5b1191d85
commit 2b7357cc68
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ void benchOn(OutputPin* output) {
static char pin_error[64];
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);
if (diag == PIN_INVALID) {
efiPrintf("No Diag on this pin");