When the device boots up, the TOUCH_CS is changed from any GPIO to 1. A little helper was written, that is able to tell, if the pin has changed. Already when setup runs, the gpio has changed to 1.