Fixed bootloaders not disabling global interrupts during erase and write operations...
[pub/USBasp.git] / Projects / LEDNotifier / LEDNotifier.c
index 0745576..f399e11 100644 (file)
@@ -1,13 +1,13 @@
 /*
              LUFA Library
 /*
              LUFA Library
-     Copyright (C) Dean Camera, 2014.
+     Copyright (C) Dean Camera, 2017.
 
   dean [at] fourwalledcubicle [dot] com
            www.lufa-lib.org
 */
 
 /*
 
   dean [at] fourwalledcubicle [dot] com
            www.lufa-lib.org
 */
 
 /*
-  Copyright 2014  Dean Camera (dean [at] fourwalledcubicle [dot] com)
+  Copyright 2017  Dean Camera (dean [at] fourwalledcubicle [dot] com)
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
 
   Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
@@ -134,6 +134,8 @@ int main(void)
                if (Channel & (1 << 7))
                  SoftPWM_Channel3_Duty = Duty;
 
                if (Channel & (1 << 7))
                  SoftPWM_Channel3_Duty = Duty;
 
+               fputc(&USBSerialStream, ColourUpdate);
+
                CDC_Device_USBTask(&VirtualSerial_CDC_Interface);
                USB_USBTask();
        }
                CDC_Device_USBTask(&VirtualSerial_CDC_Interface);
                USB_USBTask();
        }