Fixes EEPROM bit shifting direction and bit mask