From 970ca7890e02de5c9c08241e83e45195d092e015 Mon Sep 17 00:00:00 2001 From: Kevin Mark Date: Sat, 30 Mar 2013 04:18:08 -0400 Subject: [PATCH] 0 -> 0x00 --- PS3BT.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PS3BT.cpp b/PS3BT.cpp index 406507f3..088325b4 100644 --- a/PS3BT.cpp +++ b/PS3BT.cpp @@ -589,10 +589,10 @@ void PS3BT::setRumbleOff() { } void PS3BT::setRumbleOn(Rumble mode) { - if ((mode & 0x30) > 0) { - uint8_t power[2] = { 0xff, 0 }; // Defaults to RumbleLow + if ((mode & 0x30) > 0x00) { + uint8_t power[2] = { 0xff, 0x00 }; // Defaults to RumbleLow if (mode == RumbleHigh) { - power[0] = 0; + power[0] = 0x00; power[1] = 0xff; } setRumbleOn(0xfe, power[0], 0xfe, power[1]);