mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Don't change setReportMode when initializing the IR camera
This commit is contained in:
parent
0cd5102056
commit
bca143a23f
1 changed files with 4 additions and 1 deletions
3
Wii.cpp
3
Wii.cpp
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue