HAL include and other adjustments (#14525)

This commit is contained in:
Scott Lahteine
2019-07-08 23:42:29 -05:00
committed by GitHub
parent be37c38aa2
commit a2ba0aaaac
19 changed files with 110 additions and 105 deletions

View File

@ -124,6 +124,8 @@ bool SDIO_ReadBlock(uint32_t blockAddress, uint8_t *data) {
return false;
}
uint32_t millis();
bool SDIO_WriteBlock(uint32_t blockAddress, const uint8_t *data) {
if (SDIO_GetCardState() != SDIO_CARD_TRANSFER) return false;
if (blockAddress >= SdCard.LogBlockNbr) return false;