Skip to content

Commit

Permalink
Remove I2C pins from exptest driver
Browse files Browse the repository at this point in the history
  • Loading branch information
ToveRumar committed Oct 15, 2024
1 parent 2cbf933 commit ae69655
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/deck/drivers/src/test/exptestCfBl.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@ static EtGpio etGpioIn[ET_NBR_PINS] = {
{ET_GPIO_PORT_IO4, ET_GPIO_PIN_IO4, "IO4"}
};

static EtGpio etGpioSDA = {ET_GPIO_PORT_SDA, ET_GPIO_PIN_SDA, "SDA"};
static EtGpio etGpioSCL = {ET_GPIO_PORT_SCL, ET_GPIO_PIN_SCL, "SCL"};

static bool isInit;
const DeckDriver *bcRpm = NULL;
Expand Down Expand Up @@ -257,21 +255,6 @@ static bool expCfBlTestRun(void)

rpmTestRun();
}

if (status) {
// Configure SDA & SCL to turn on OK leds
GPIO_InitStructure.GPIO_Mode = GPIO_Mode_OUT;
GPIO_InitStructure.GPIO_OType = GPIO_OType_PP;
GPIO_InitStructure.GPIO_Speed = GPIO_Low_Speed;
GPIO_InitStructure.GPIO_Pin = etGpioSDA.pin;
GPIO_Init(etGpioSDA.port, &GPIO_InitStructure);
GPIO_InitStructure.GPIO_Pin = etGpioSCL.pin;
GPIO_Init(etGpioSCL.port, &GPIO_InitStructure);
// Turn on OK LEDs.
GPIO_ResetBits(etGpioSDA.port, etGpioSDA.pin);
GPIO_ResetBits(etGpioSCL.port, etGpioSCL.pin);
}

return status;
}

Expand Down

0 comments on commit ae69655

Please sign in to comment.