Assuming
song1
is defined as
int song1[8];
The try removing the
addressOf
operator from the array name:
tuneToPlay = song1;
But that is a bit of a guess since you have not included
song1
in your code sample.
[edit]
It also may be due to the fact that you are effectively removing the
const
qualifier in the
ISR_playSong
function.
[/edit]