In boot_check(), enable internal pullup on the input pin.

doing so avoids false positives if the input pin is left floating and is picking up noise/signal from the adjacent output pin.