/* Save whether the Android device needs to be mode-switched later on */\r
bool RequiresModeSwitch = (ErrorCode == NonAccessoryModeAndroidDevice);\r
\r
- /* Error out if the device is not an Android device or an error ocurred */\r
+ /* Error out if the device is not an Android device or an error occurred */\r
if ((ErrorCode != AccessoryModeAndroidDevice) && !(RequiresModeSwitch))\r
{\r
if (ErrorCode == DevControlError)\r