Преглед изворни кода

Merge pull request #29 from FrankBoesing/patch-1

SD.h: Fix -Woverflow for newer compilers.
main
Paul Stoffregen пре 4 година
родитељ
комит
0ddfe521da
No account linked to committer's email address
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      src/SD.h

+ 1
- 1
src/SD.h Прегледај датотеку

class Sd2Card class Sd2Card
{ {
public: public:
bool init(uint8_t speed, uint8_t csPin) {
bool init(uint32_t speed, uint8_t csPin) {
return SD.begin(csPin); return SD.begin(csPin);
} }
uint8_t type() { uint8_t type() {

Loading…
Откажи
Сачувај