My bad
I was using homedir 1 instead of -1 for z axis
Now I have the switch connected to zmax endstop and bltouch to zmin endstop and used for homing
Thanks
I was using homedir 1 instead of -1 for z axis
Now I have the switch connected to zmax endstop and bltouch to zmin endstop and used for homing
Thanks