aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/LEDNotifier
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-04-13 11:19:04 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-04-13 11:19:04 +0000
commite55f33866334615e705ff68c0f3bea8e5b1b9b8b (patch)
tree35ee822c10f6453d4c162190e2a2488a9cc253e2 /Projects/LEDNotifier
parent882ef0c983836f9a188ec1f4c86192c1af1c1344 (diff)
downloadlufa-e55f33866334615e705ff68c0f3bea8e5b1b9b8b.tar.gz
lufa-e55f33866334615e705ff68c0f3bea8e5b1b9b8b.tar.bz2
lufa-e55f33866334615e705ff68c0f3bea8e5b1b9b8b.zip
Document the Bluetooth ACL layer. Remove unneeded parameters from the signalling command processing routines.
Change over the code so that the bluetooth packet data is read in by the stack rather than the user application, to make it more unform for sending/receiving, and so the library can handle incomming fragmentation in the future. Start Service Discovery Protocol decoding and processing.
Diffstat (limited to 'Projects/LEDNotifier')
-rw-r--r--Projects/LEDNotifier/LEDNotifier.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Projects/LEDNotifier/LEDNotifier.c b/Projects/LEDNotifier/LEDNotifier.c
index 00b6e2698..61d5efcbb 100644
--- a/Projects/LEDNotifier/LEDNotifier.c
+++ b/Projects/LEDNotifier/LEDNotifier.c
@@ -113,7 +113,7 @@ int main(void)
/* Read in next LED colour command from the host */
uint8_t ColorUpdate = fgetc(&USBSerialStream);
- /* Top 3 bits select the LED, bottom three control the brightness */
+ /* Top 3 bits select the LED, bottom 5 control the brightness */
uint8_t Channel = (ColorUpdate & 0b11100000);
uint8_t Duty = (ColorUpdate & 0b00011111);