Don't change setReportMode when initializing the IR camera

This commit is contained in:
Kristian Sloth Lauszus 2013-01-24 00:23:09 +01:00
parent 0cd5102056
commit bca143a23f

View file

@ -238,6 +238,9 @@ void WII::ACLData(uint8_t* l2capinbuf) {
Notify(PSTR("\r\nExtension connected")); Notify(PSTR("\r\nExtension connected"));
#endif #endif
unknownExtensionConnected = true; unknownExtensionConnected = true;
#ifdef WIICAMERA
if(!isIRCameraEnabled()) // Don't activate the Motion Plus if we are trying to initialize the IR camera
#endif
setReportMode(false,0x35); // Also read the extension setReportMode(false,0x35); // Also read the extension
} }
else { else {