aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2009-12-15 05:17:52 +0000
committerDean Camera <dean@fourwalledcubicle.com>2009-12-15 05:17:52 +0000
commit79efd8c79e723adb3392367ae62356c5c3a835d0 (patch)
tree5232f8c3a61e63287008fafae32cf1cf568fed9e /LUFA
parent8ea051de637f09f0fd2895f5a18ee9f337b9b1f1 (diff)
downloadlufa-79efd8c79e723adb3392367ae62356c5c3a835d0.tar.gz
lufa-79efd8c79e723adb3392367ae62356c5c3a835d0.tar.bz2
lufa-79efd8c79e723adb3392367ae62356c5c3a835d0.zip
Fix a bug in the Still Image Host Class driver where the returned block status code was being truncated.
Add programming support to the AVRISP project's PDI programming mode; paged memory writes are not currently functional.
Diffstat (limited to 'LUFA')
-rw-r--r--LUFA/Drivers/USB/Class/Host/StillImage.c2
-rw-r--r--LUFA/ManPages/ChangeLog.txt1
2 files changed, 1 insertions, 2 deletions
diff --git a/LUFA/Drivers/USB/Class/Host/StillImage.c b/LUFA/Drivers/USB/Class/Host/StillImage.c
index 67d5cdee2..615094dbf 100644
--- a/LUFA/Drivers/USB/Class/Host/StillImage.c
+++ b/LUFA/Drivers/USB/Class/Host/StillImage.c
@@ -233,8 +233,6 @@ static uint8_t SImage_Host_ReceiveBlockHeader(USB_ClassInfo_SI_Host_t* const SII
Pipe_Read_Stream_LE(&PIMAHeader->Params, ParamBytes, NO_STREAM_CALLBACK);
Pipe_ClearIN();
-
- PIMAHeader->Code &= 0x0000000F;
}
Pipe_Freeze();
diff --git a/LUFA/ManPages/ChangeLog.txt b/LUFA/ManPages/ChangeLog.txt
index 791a17060..a8502f357 100644
--- a/LUFA/ManPages/ChangeLog.txt
+++ b/LUFA/ManPages/ChangeLog.txt
@@ -61,6 +61,7 @@
* - Fixed the definition of the Endpoint_BytesInEndpoint() macro for the U4 series AVR parts
* - Fixed MIDI host Class driver MIDI_Host_SendEventPacket() routine not properly checking for Pipe ready before writing
* - Fixed use of deprecated struct initializers, removed library unused parameter warnings when compiled with -Wextra enabled
+ * - Fixed Still Image Host Class driver truncating the PIMA response code (thanks to Daniel)
*
* \section Sec_ChangeLog091122 Version 091122
*