Esp 32 dev kit v1 touch sensor interrupt usage issue

The code that you posted does not compile because touch_up and touch_down are not declared