From 2be3f61301f82dfaea3dfcad78050e8bc2a0e14b Mon Sep 17 00:00:00 2001 From: Kristian Lauszus Date: Mon, 10 Sep 2012 00:23:35 +0200 Subject: [PATCH] Forgot break in switch statement --- Wii.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Wii.cpp b/Wii.cpp index 746c13b6..dd54db50 100644 --- a/Wii.cpp +++ b/Wii.cpp @@ -285,6 +285,7 @@ void WII::ACLData(uint8_t* l2capinbuf) { #endif break; case 0x30: // Core buttons - (a1) 30 BB BB + break; case 0x31: // Core Buttons and Accelerometer - (a1) 31 BB BB AA AA AA pitch = wiiMotePitch; // The pitch is just equal to the angle calculated from the wiimote as there is no Motion Plus connected roll = wiiMoteRoll;