Browse Source

Merge pull request #29 from FrankBoesing/patch-1

SD.h: Fix -Woverflow for newer compilers.
main
Paul Stoffregen 4 years ago
parent
commit
0ddfe521da
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/SD.h

+ 1
- 1
src/SD.h View File

@@ -204,7 +204,7 @@ extern SDClass SD;
class Sd2Card
{
public:
bool init(uint8_t speed, uint8_t csPin) {
bool init(uint32_t speed, uint8_t csPin) {
return SD.begin(csPin);
}
uint8_t type() {

Loading…
Cancel
Save