Skip to content

Commit

Permalink
Merge pull request #32 from udo-munk/master
Browse files Browse the repository at this point in the history
fix compiler warning
  • Loading branch information
hathach authored Aug 9, 2024
2 parents 9e6c8e8 + 3877dca commit c924d73
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 c924d73

Please sign in to comment.