Changed Still Image Host class driver to auto-fill TransactionID element of sent headers depending on the current session state.
CDC based demos and project now work under 64 bit versions of Windows (thanks to Ronny Hanson, Thomas Bleeker). The Benito Programmer project now has its own unique VID/PID pair allocated from the Atmel donated LUFA VID/PID pool.
This commit is contained in:
parent
6783bc4594
commit
064e6a2f32
15 changed files with 711 additions and 269 deletions
|
@ -110,6 +110,10 @@ int main(void)
|
|||
break;
|
||||
}
|
||||
|
||||
printf("Turning off Device...\r\n");
|
||||
SImage_Host_SendCommand(&DigitalCamera_SI_Interface, 0x1013, 0, 0, 0, 0, NULL);
|
||||
printf("Device Off.\r\n");
|
||||
|
||||
printf("Closing Session...\r\n");
|
||||
|
||||
if (SImage_Host_CloseSession(&DigitalCamera_SI_Interface) != PIPE_RWSTREAM_NoError)
|
||||
|
@ -119,8 +123,6 @@ int main(void)
|
|||
break;
|
||||
}
|
||||
|
||||
printf("Device Idle.\r\n");
|
||||
|
||||
LEDs_SetAllLEDs(LEDMASK_USB_READY);
|
||||
USB_HostState = HOST_STATE_WaitForDeviceRemoval;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue