conditional code for --disable-volatile-data
Reduce use of magic numbers and #ifdefs by the VOLATILE_REFRESH build option