Explorar el Código

Fix compiler warning

main
PaulStoffregen hace 5 años
padre
commit
876e80a8d4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      utility/NXP_SDHC.cpp

+ 1
- 1
utility/NXP_SDHC.cpp Ver fichero

@@ -1029,7 +1029,7 @@ static uint8_t SDHC_Init(void)
//SDHC_PROCTL &= ~SDHC_PROCTL_DMAS(3); // clear ADMA
//SDHC_PROCTL |= SDHC_PROCTL_D3CD;
//SDHC_PROCTL = SDHC_PROCTL_EMODE(SDHC_PROCTL_EMODE_INVARIANT) | SDHC_PROCTL_D3CD;
SDHC_PROCTL = SDHC_PROCTL & ~(SDHC_PROCTL_EMODE(3))
SDHC_PROCTL = (SDHC_PROCTL & ~(SDHC_PROCTL_EMODE(3)))
| (SDHC_PROCTL_EMODE(SDHC_PROCTL_EMODE_INVARIANT) | SDHC_PROCTL_D3CD );
//SDHC_WML = SDHC_WML_RDWML(SDHC_FIFO_BUFFER_SIZE) | SDHC_WML_WRWML(SDHC_FIFO_BUFFER_SIZE);
//Serial.printf("SDHC_WML = %08X\n", SDHC_WML); // prints 08100810 (good)

Cargando…
Cancelar
Guardar