Use <stdint.h> for structure sizes

This commit is contained in:
rob-ng15 2020-03-20 11:34:24 +00:00 committed by GitHub
parent ec3e068669
commit c2ebbcbf6c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
int spi_sdcard_init(uint32_t device);
int spi_sdcard_read_sector(uint32_t device, unsigned long lba,unsigned char *buf);
int spi_sdcard_read_sector(uint32_t device, uint32_t lba,uint_least8_t *buf);
unsigned char spi_sdcard_goidle(void);
unsigned char spi_sdcard_readMBR(void);
unsigned char spi_sdcard_readFile(char *, char *, unsigned long);
uint8_t spi_sdcard_goidle(void);
uint8_t spi_sdcard_readMBR(void);
uint8_t spi_sdcard_readFile(char *, char *, uint32_t);