瀏覽代碼

Merge pull request #29 from FrankBoesing/patch-1

SD.h: Fix -Woverflow for newer compilers.
main
Paul Stoffregen 5 年之前
父節點
當前提交
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…
取消
儲存