From fd024de89fd4a313ff3b3715e878b402822796ed Mon Sep 17 00:00:00 2001
From: Dean Camera <dean@fourwalledcubicle.com>
Date: Sun, 17 Jun 2018 16:13:18 +1000
Subject: [PATCH] Fix LEDNotifier project writing to the incorrect output
 stream.

---
 Projects/LEDNotifier/LEDNotifier.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Projects/LEDNotifier/LEDNotifier.c b/Projects/LEDNotifier/LEDNotifier.c
index b164ed006..cfad0c288 100644
--- a/Projects/LEDNotifier/LEDNotifier.c
+++ b/Projects/LEDNotifier/LEDNotifier.c
@@ -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();
-- 
GitLab