Fix drift compensation value stored in eeprom

Fix drift compensation value stored in eeprom