Skip to content

Commit 0ddfe52

Browse files
Merge pull request arduino-libraries#29 from FrankBoesing/patch-1
SD.h: Fix -Woverflow for newer compilers.
2 parents 9470853 + e7695fc commit 0ddfe52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SD.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ extern SDClass SD;
204204
class Sd2Card
205205
{
206206
public:
207-
bool init(uint8_t speed, uint8_t csPin) {
207+
bool init(uint32_t speed, uint8_t csPin) {
208208
return SD.begin(csPin);
209209
}
210210
uint8_t type() {

0 commit comments

Comments
 (0)