Fix LEDNotifier project writing to the incorrect output stream.
authorDean Camera <dean@fourwalledcubicle.com>
Sun, 17 Jun 2018 06:13:18 +0000 (16:13 +1000)
committerDean Camera <dean@fourwalledcubicle.com>
Sun, 17 Jun 2018 06:13:18 +0000 (16:13 +1000)
Projects/LEDNotifier/LEDNotifier.c

index b164ed0..cfad0c2 100644 (file)
@@ -134,7 +134,7 @@ int main(void)
                if (Channel & (1 << 7))
                  SoftPWM_Channel3_Duty = Duty;
 
-               fputc(&USBSerialStream, ColourUpdate);
+               fputc(ColourUpdate, &USBSerialStream);
 
                CDC_Device_USBTask(&VirtualSerial_CDC_Interface);
                USB_USBTask();