projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Renamed all low level Endpoint_Read_*, Endpoint_Write_* and Endpoint_Discard_* functi...
[pub/USBasp.git]
/
Demos
/
Device
/
LowLevel
/
MassStorage
/
MassStorage.c
diff --git
a/Demos/Device/LowLevel/MassStorage/MassStorage.c
b/Demos/Device/LowLevel/MassStorage/MassStorage.c
index
d6345e3
..
7f2d866
100644
(file)
--- a/
Demos/Device/LowLevel/MassStorage/MassStorage.c
+++ b/
Demos/Device/LowLevel/MassStorage/MassStorage.c
@@
-146,7
+146,7
@@
void EVENT_USB_Device_ControlRequest(void)
Endpoint_ClearSETUP();
/* Indicate to the host the number of supported LUNs (virtual disks) on the device */
- Endpoint_Write_
Byte
(TOTAL_LUNS - 1);
+ Endpoint_Write_
8
(TOTAL_LUNS - 1);
Endpoint_ClearIN();
Endpoint_ClearStatusStage();