Skip to content

Commit c88dfa8

Browse files
committed
Fix warning for unused variable
Signed-off-by: Frederic.Pillon <[email protected]>
1 parent ad9c39c commit c88dfa8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

libraries/Wire/Wire.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ uint8_t TwoWire::requestFrom(uint8_t address, uint8_t quantity, uint32_t iaddres
131131
}
132132
endTransmission(false);
133133
}
134+
#else
135+
UNUSED(iaddress);
136+
UNUSED(isize);
134137
#endif /* !STM32F1xx */
135138

136139
// clamp to buffer length

0 commit comments

Comments
 (0)