diff --git a/Firmware/cardreader.h b/Firmware/cardreader.h index f7e3acc9..617f3512 100644 --- a/Firmware/cardreader.h +++ b/Firmware/cardreader.h @@ -135,7 +135,7 @@ private: bool autostart_stilltocheck; //the sd start is delayed, because otherwise the serial cannot answer fast enought to make contact with the hostsoftware. - int16_t nrFiles; //counter for the files in the current directory and recycled as position counter for getting the nrFiles'th name in the directory. + uint16_t nrFiles; //counter for the files in the current directory and recycled as position counter for getting the nrFiles'th name in the directory. char* diveDirName; bool diveSubfolder (const char *&fileName);