projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed broken USE_RAM_DESCRIPTORS compile time option when the FIXED_NUM_CONFIGURATION...
[pub/USBasp.git]
/
Projects
/
LEDNotifier
/
LEDNotifier.c
diff --git
a/Projects/LEDNotifier/LEDNotifier.c
b/Projects/LEDNotifier/LEDNotifier.c
index
e1d5dd9
..
8e70e90
100644
(file)
--- a/
Projects/LEDNotifier/LEDNotifier.c
+++ b/
Projects/LEDNotifier/LEDNotifier.c
@@
-1,13
+1,13
@@
/*
LUFA Library
/*
LUFA Library
- Copyright (C) Dean Camera, 201
3
.
+ Copyright (C) Dean Camera, 201
5
.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
*/
/*
- Copyright 201
3
Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 201
5
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
@@
-66,20
+66,20
@@
USB_ClassInfo_CDC_Device_t VirtualSerial_CDC_Interface =
},
};
},
};
-/** Counter for the software PWM */
+/** Counter for the software PWM
.
*/
static volatile uint8_t SoftPWM_Count;
static volatile uint8_t SoftPWM_Count;
-/** Duty cycle for the first software PWM channel */
+/** Duty cycle for the first software PWM channel
.
*/
static volatile uint8_t SoftPWM_Channel1_Duty;
static volatile uint8_t SoftPWM_Channel1_Duty;
-/** Duty cycle for the second software PWM channel */
+/** Duty cycle for the second software PWM channel
.
*/
static volatile uint8_t SoftPWM_Channel2_Duty;
static volatile uint8_t SoftPWM_Channel2_Duty;
-/** Duty cycle for the third software PWM channel */
+/** Duty cycle for the third software PWM channel
.
*/
static volatile uint8_t SoftPWM_Channel3_Duty;
/** Standard file stream for the CDC interface when set up, so that the virtual CDC COM port can be
static volatile uint8_t SoftPWM_Channel3_Duty;
/** Standard file stream for the CDC interface when set up, so that the virtual CDC COM port can be
- * used like any regular character stream in the C APIs
+ * used like any regular character stream in the C APIs
.
*/
static FILE USBSerialStream;
*/
static FILE USBSerialStream;
@@
-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();
}