Fix bug with digital potentiometers