digitalRead() condition in 'while' loop not triggering

(digitalRead(extendedEndstop) == LOW)