aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/MissileLauncher
diff options
context:
space:
mode:
Diffstat (limited to 'Projects/MissileLauncher')
-rw-r--r--Projects/MissileLauncher/MissileLauncher.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Projects/MissileLauncher/MissileLauncher.c b/Projects/MissileLauncher/MissileLauncher.c
index a18673290..cb0bd8570 100644
--- a/Projects/MissileLauncher/MissileLauncher.c
+++ b/Projects/MissileLauncher/MissileLauncher.c
@@ -95,10 +95,11 @@ int main(void)
{
SetupHardware();
- LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
-
CmdState = CMD_STOP;
+ LEDs_SetAllLEDs(LEDMASK_USB_NOTREADY);
+ sei();
+
for (;;)
{
Read_Joystick_Status();