stm32f4: i2c_init_slave fix unused-parameter
This commit is contained in:
parent
0eaeca3640
commit
13bdc21c9e
@ -218,6 +218,8 @@ static void _toggle_pins(GPIO_TypeDef *port_scl, GPIO_TypeDef *port_sda, int pin
|
||||
int i2c_init_slave(i2c_t dev, uint8_t address)
|
||||
{
|
||||
/* TODO: implement slave mode */
|
||||
(void) dev;
|
||||
(void) address;
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user