Not familiar with Marlin 1.6,11
I have Marlin 1.1.5 which is the newest until Marlin 1.2.0 is released also known as Marlin V2.0
you can change the end stops
In configuration.h
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
// my settings are here
#define Z_MIN_ENDSTOP_INVERTING false // set to true for SN-04N False for TL-W3M.
I have Marlin 1.1.5 which is the newest until Marlin 1.2.0 is released also known as Marlin V2.0
you can change the end stops
In configuration.h
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
// my settings are here
#define Z_MIN_ENDSTOP_INVERTING false // set to true for SN-04N False for TL-W3M.