Fix configuration of the internal pull-up resistors.