Passing char to a function

tried that. can't get it to work right no matter what i do. upon boot of the device it plays the file but never repeats it.