Pull-Up Resister Question

Hello all,

Marlin 1.1.6
Board: MakerBase mks gen L v1.0 - Arduino/Genuino Mega or Mega 2560

Quick question.
If I disable the pull-up resistor for my Z-axis endstop, should I read any voltage at the connector on the board? I'm trying to have the Z-axis Min input pin not supply 5v. I've tried disabling it by commenting it out in conf.h, but it still puts out 5v. What am I doing wrong?

/ coarse Endstop Settings
//#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors

#if DISABLED(ENDSTOPPULLUPS)
// fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined
#define ENDSTOPPULLUP_XMAX
#define ENDSTOPPULLUP_YMAX
#define ENDSTOPPULLUP_ZMAX
#define ENDSTOPPULLUP_XMIN
#define ENDSTOPPULLUP_YMIN
//#define ENDSTOPPULLUP_ZMIN
//#define ENDSTOPPULLUP_ZMIN_PROBE
#endif

jkepps:
Quick question.
If I disable the pull-up resistor for my Z-axis endstop, should I read any voltage at the connector on the board? I’m trying to have the Z-axis Min input pin not supply 5v. I’ve tried disabling it by commenting it out in conf.h, but it still puts out 5v. What am I doing wrong?

It depends on the Z-axis endstop circuit, so it takes a schematic to answer that question.