usbengines/usbotgwatcher/src/cusbstatehosthandledropping.cpp
branchRCL_3
changeset 10 f6533aee8b2b
parent 7 ff9df6630274
child 23 25fce757be94
equal deleted inserted replaced
9:1a297fa72b1e 10:f6533aee8b2b
    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
   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             }