You’re getting this message because these lines of firmware configuration aren’t at the very top of your sketch…
Pete.