olikraus / m2tklib

Automatically exported from code.google.com/p/m2tklib
Other
49 stars 11 forks source link

getFilename not in latest sdFat #154

Open mvhconsult opened 9 years ago

mvhconsult commented 9 years ago

Hey,

Using latest sdFat, which has a completely new core, and apparently lost getFilename (or moved it?) see: https://github.com/greiman/SdFat

In mas_sdfat.cpp, line 129 replace mas_sdfat_file.getFilename(buf); with mas_sdfat_file.getName(buf, 13);

Please check the needed size, this is a quick fix for me.