Skip to content

Commit 06c8206

Browse files
committed
Fix warning for unused parameter
linked to "Use interrupt mode for I2C transfers" 2e9dc4d merged Signed-off-by: Frederic.Pillon <[email protected]>
1 parent ddbadbf commit 06c8206

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cores/arduino/stm32/twi.c

+1
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ void i2c_init(i2c_t *obj)
143143
*/
144144
void i2c_custom_init(i2c_t *obj, i2c_timing_e timing, uint32_t addressingMode, uint32_t ownAddress, uint8_t master)
145145
{
146+
UNUSED(master);
146147
if(obj == NULL)
147148
return;
148149

0 commit comments

Comments
 (0)