Particle Boron Flashing Red on startup

I just downloaded a code update to a Boron. The change was to add

SYSTEM_THREAD(ENABLED);

to setup()

As soon as the code was flashed, the Boron rebooted, went into its normal startup cycle (slow green, fast flash, then flashes Red and reboots. Looks like about 8-10 reds, pause, 1 red.

I tried Device Doctor, no help.

How can I restore this device?

Thanks,

What does your setup() code look like?

Your code may be trying to do something that requires an active cloud connection, which will not be immediately available with SYSTEM_THREAD(ENABLED)

I did something stupid. I put

SYSTEM_THREAD(ENABLED);

inside setup() instead of before it.

I had to locally re-flash "tinker" to get the Boron back, then was able to re-flash my code with the above line in the correct place.

Thanks.