when gpio detects a pin not output-configured it changes it to output