diff options
| author | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2010-04-13 11:19:04 +0000 |
|---|---|---|
| committer | Dean <Dean@d5102386-fcda-11dd-9fdb-3debd5008f28> | 2010-04-13 11:19:04 +0000 |
| commit | dab91d1b2ffdd5b315b3e42a91afb9207e6e35c0 (patch) | |
| tree | 35ee822c10f6453d4c162190e2a2488a9cc253e2 /Projects/LEDNotifier/LEDNotifier.c | |
| parent | b24e7335a68dc840b475f1566f21ab239a299620 (diff) | |
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.
git-svn-id: http://lufa-lib.googlecode.com/svn/trunk@1205 d5102386-fcda-11dd-9fdb-3debd5008f28
Diffstat (limited to 'Projects/LEDNotifier/LEDNotifier.c')
| -rw-r--r-- | Projects/LEDNotifier/LEDNotifier.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Projects/LEDNotifier/LEDNotifier.c b/Projects/LEDNotifier/LEDNotifier.c index 00b6e269..61d5efcb 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);
|
