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> |
|
21 |
20 |
22 #include "cusbotgwatcher.h" |
21 #include "cusbotgwatcher.h" |
23 #include "cusbstatehosthandledropping.h" |
22 #include "cusbstatehosthandledropping.h" |
24 |
23 |
25 #ifndef STIF |
24 #ifndef STIF |
384 |
383 |
385 LOG1( "aMessage = %d", aMessage ) |
384 LOG1( "aMessage = %d", aMessage ) |
386 |
385 |
387 switch (aMessage) |
386 switch (aMessage) |
388 { |
387 { |
389 // OTGDI |
388 // USBDI |
390 case KEventUsbOtgBadDeviceDetached: |
389 case KEventUsbBadDeviceDetached: |
391 { |
390 { |
392 LOG("BadDeviceDetached" ); |
391 LOG("BadDeviceDetached" ); |
393 ChangeHostStateL( EUsbStateHostUndefined); |
392 ChangeHostStateL( EUsbStateHostUndefined); |
394 break; |
393 break; |
395 } |
394 } |