Don't just ignore it.
To be fair, OP didn't. He/she just didn't make all ISR and loop() accessed variables volatile.