Added a 2ms delay between enabling pull-up and testing the boot entry
pin. This improves reliability of detecting when to enter boot mode
and when to run the application.