fix FAT_setAttr for big endian

This commit is contained in:
Dave Murphy 2015-01-13 15:11:51 +00:00
parent d6ac947826
commit ef7a8748e6
2 changed files with 5 additions and 5 deletions

View File

@ -111,7 +111,7 @@ extern void fatGetVolumeLabel (const char* name, char *label);
Methods to modify DOS File Attributes
*/
int FAT_getAttr(const char *file);
int FAT_setAttr(const char *file, int attr );
int FAT_setAttr(const char *file, uint8_t attr );
#define LIBFAT_FEOS_MULTICWD

View File

@ -72,7 +72,7 @@ int FAT_getAttr(const char *file) {
return dirEntry.entryData[DIR_ENTRY_attributes];
}
int FAT_setAttr(const char *file, int attr) {
int FAT_setAttr(const char *file, uint8_t attr) {
// Defines...
DIR_ENTRY_POSITION entryEnd;