Hi Mark,
I have copied the latest version of ufat to my project (still have to copy full utasker latest version) and getting an error.
The UTDISK structure has 1 change (which I changed in debug.c):
From : unsigned char ucDiskFlags;
To: unsigned short usDiskFlags;
When I upgrade the firmware which is running out in the field ,will these effect any data currently stored?
Also:
Can you tell me the flags to pass to the new the following changes?
New function :
utFormat(DISK_D, ptrInput, ucFlags)
Old Function:
utFormat(const unsigned char ucDrive, const CHAR *cVolumeLabel)
---- Also ---
New function:
static int utReFormat(const unsigned char ucDrive, const CHAR *cVolumeLabel, unsigned char ucFlags)
Old Function :
extern int utReFormat(const unsigned char ucDrive, const CHAR *cVolumeLabel);
-- Also --
I see there is a call to GET_SDCARD_WP_STATE() , but cant find this in my project ( I am assuming because I have to change all my project to the latest version). Can you let me know what and where this should go?
Thanks for all your help
Neil