[update] add get drive number (letter) method
- added getPhysicalDriveNumber( )
- added getDriveLetter( )
In WioTerminal, I found a issue that my program not work correctly when using Flash (SFUD) and SD card at the same time. The cause is that the drive letter (drive number) of the path is not correctly identified during file processing.
To solve this problem, a drive letter should be added to the beginning of the file path (e.g. "0:/dir/test.txt"), but the library did not provide this functionality, so I propose to add it.
I also pullrequested to Seeed_Arduino_SFUD repo.
@lakshanthad and this
Hello @takkaO,
Could you please share the program codes that you tested so that I can reproduce on my end, verify it and merge this PR?
I have also mentioned this in the pull request you made on the SFUD library.
Thank you.