 // BELOW THIS LINE THE FILE HELPER FUNCTIONS CAN BE FOUND
 //
 // counts the number of files in directory
-static byte countFiles(File dir) {
-  byte counter = 0;
+static uint8_t countFiles(File dir) {
+  uint8_t counter = 0;
   while (true) {
     File entry = dir.openNextFile();
     // Skip directories and hidden files.

// turn ON / OFF certain hardware features
//
// to enable the IR Remote Control option uncomment the following line
#define IRREMOTE 1

// to enable the 4 control buttons uncomment the following line
#define BUTTONS 1



// play a single track within an album - is called by playAlbum() or by issueWarning()
static char playTrack(uint8_t trackNo) {
  #ifdef OPRLIGHTTIME
    const unsigned long maxLightTime = 1800000L;// how long shall the light stay on while nothing is playing - 1800000L = 30 Minutes
  #endif
