Skip to content

Commit 1a653ac

Browse files
committed
Fix compilation for cmake / pure C++
1 parent 2cc20c4 commit 1a653ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Adafruit_SSD1306.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ void Adafruit_SSD1306::splash()
229229
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
230230
};
231231

232-
memcpy(buffer, &adaFruitLogo[0], min((size_t)sizeof(adaFruitLogo), buffSize));
232+
memcpy(buffer, &adaFruitLogo[0], internal_min((size_t)sizeof(adaFruitLogo), buffSize));
233233
#endif
234234
}
235235

0 commit comments

Comments
 (0)