File tree Expand file tree Collapse file tree 1 file changed +1
-18
lines changed
src/deck/drivers/src/test Expand file tree Collapse file tree 1 file changed +1
-18
lines changed Original file line number Diff line number Diff line change @@ -99,8 +99,6 @@ static EtGpio etGpioIn[ET_NBR_PINS] = {
99
99
{ET_GPIO_PORT_IO4 , ET_GPIO_PIN_IO4 , "IO4" }
100
100
};
101
101
102
- static EtGpio etGpioSDA = {ET_GPIO_PORT_SDA , ET_GPIO_PIN_SDA , "SDA" };
103
- static EtGpio etGpioSCL = {ET_GPIO_PORT_SCL , ET_GPIO_PIN_SCL , "SCL" };
104
102
105
103
static bool isInit ;
106
104
const DeckDriver * bcRpm = NULL ;
@@ -255,23 +253,8 @@ static bool expCfBlTestRun(void)
255
253
bcRpm -> init (NULL );
256
254
}
257
255
258
- rpmTestRun ();
256
+ status = rpmTestRun ();
259
257
}
260
-
261
- if (status ) {
262
- // Configure SDA & SCL to turn on OK leds
263
- GPIO_InitStructure .GPIO_Mode = GPIO_Mode_OUT ;
264
- GPIO_InitStructure .GPIO_OType = GPIO_OType_PP ;
265
- GPIO_InitStructure .GPIO_Speed = GPIO_Low_Speed ;
266
- GPIO_InitStructure .GPIO_Pin = etGpioSDA .pin ;
267
- GPIO_Init (etGpioSDA .port , & GPIO_InitStructure );
268
- GPIO_InitStructure .GPIO_Pin = etGpioSCL .pin ;
269
- GPIO_Init (etGpioSCL .port , & GPIO_InitStructure );
270
- // Turn on OK LEDs.
271
- GPIO_ResetBits (etGpioSDA .port , etGpioSDA .pin );
272
- GPIO_ResetBits (etGpioSCL .port , etGpioSCL .pin );
273
- }
274
-
275
258
return status ;
276
259
}
277
260
You can’t perform that action at this time.
0 commit comments