equal
deleted
inserted
replaced
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 #include <usbuinotif.h> |
18 #include <usbuinotif.h> |
19 #include <d32usbdi_errors.h> |
19 #include <d32usbdi_errors.h> |
|
20 #include <d32otgdi_errors.h> |
20 |
21 |
21 #include "cusbotgwatcher.h" |
22 #include "cusbotgwatcher.h" |
22 #include "cusbstatehosthandledropping.h" |
23 #include "cusbstatehosthandledropping.h" |
23 |
24 |
24 #ifndef STIF |
25 #ifndef STIF |
328 // --------------------------------------------------------------------------- |
329 // --------------------------------------------------------------------------- |
329 // |
330 // |
330 // --------------------------------------------------------------------------- |
331 // --------------------------------------------------------------------------- |
331 // |
332 // |
332 void CUsbStateHostHandleDropping::DeviceAttachedL( |
333 void CUsbStateHostHandleDropping::DeviceAttachedL( |
333 TDeviceEventInformation aDevEventInfo) |
334 TDeviceEventInformation /*aDevEventInfo*/) |
334 { |
335 { |
335 LOG_FUNC |
336 LOG_FUNC |
336 } |
337 } |
337 |
338 |
338 // --------------------------------------------------------------------------- |
339 // --------------------------------------------------------------------------- |
383 |
384 |
384 LOG1( "aMessage = %d", aMessage ) |
385 LOG1( "aMessage = %d", aMessage ) |
385 |
386 |
386 switch (aMessage) |
387 switch (aMessage) |
387 { |
388 { |
388 // USBDI |
389 // OTGDI |
389 case KEventUsbBadDeviceDetached: |
390 case KEventUsbOtgBadDeviceDetached: |
390 { |
391 { |
391 LOG("BadDeviceDetached" ); |
392 LOG("BadDeviceDetached" ); |
392 ChangeHostStateL( EUsbStateHostUndefined); |
393 ChangeHostStateL( EUsbStateHostUndefined); |
393 break; |
394 break; |
394 } |
395 } |