Skip to content

Commit

Permalink
fix compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
udo-munk committed Jul 23, 2024
1 parent 928281f commit b57e19c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Adafruit_FRAM_SPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ const struct {
* @return device index, -1 if not supported
*/
static int get_supported_idx(uint8_t manufID, uint16_t prodID) {
for (int i = 0;
for (unsigned int i = 0;
i < sizeof(_supported_devices) / sizeof(_supported_devices[0]); i++) {
if (manufID == _supported_devices[i].manufID &&
prodID == _supported_devices[i].prodID)
Expand Down

0 comments on commit b57e19c

Please sign in to comment.