booster: don't wait for debugger

Just go when the program starts up.

Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
Sean Cross 2019-07-26 10:30:00 +08:00
parent b1aadbcd9d
commit a4f8276c48

View File

@ -140,7 +140,7 @@ void isr(void)
usb_isr();
}
volatile uint32_t should_continue = 0;
// volatile uint32_t should_continue = 0;
uint32_t calculated_hash;
__attribute__((noreturn)) void fobooster_main(void)
{
@ -155,7 +155,7 @@ __attribute__((noreturn)) void fobooster_main(void)
rgb_init();
usb_init();
usb_connect();
while(!should_continue);
// while(!should_continue);
// If the booster data doesn't fit in our cached image, error out.
if (image_length > sizeof(cached_image))