stm32f4: i2c_init_slave fix unused-parameter

This commit is contained in:
Joakim Gebart 2015-05-27 21:43:49 +02:00
parent 0eaeca3640
commit 13bdc21c9e

View File

@ -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;
}