Explorar el Código

Fix CardInfo with BUILTIN_SDCARD

main
PaulStoffregen hace 4 años
padre
commit
03071e943e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/SD.h

+ 1
- 1
src/SD.h Ver fichero

@@ -158,7 +158,7 @@ class Sd2Card
{
public:
bool init(uint8_t speed, uint8_t csPin) {
return SD.sdfs.begin(csPin);
return SD.begin(csPin);
}
uint8_t type() {
return SD.sdfs.card()->type();

Cargando…
Cancelar
Guardar