From 9677d5a7922fbe363f23daf01c8605d552964c34 Mon Sep 17 00:00:00 2001 From: Holger Wirtz Date: Tue, 7 Nov 2017 12:00:46 +0000 Subject: [PATCH] Revoked the last changes... --- src/dexed.cpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/src/dexed.cpp b/src/dexed.cpp index e8ba337..90bcf15 100644 --- a/src/dexed.cpp +++ b/src/dexed.cpp @@ -797,22 +797,12 @@ void Dexed::onParam(uint8_t param_num,float param_val) controllers.masterTune=(tune<<11)*(1.0/12); break; case 166: - controllers.opSwitch|=data[param_num]<<5; - break; case 167: - controllers.opSwitch|=data[param_num]<<4; - break; case 168: - controllers.opSwitch|=data[param_num]<<3; - break; case 169: - controllers.opSwitch|=data[param_num]<<2; - break; case 170: - controllers.opSwitch|=data[param_num]<<1; - break; case 171: - controllers.opSwitch|=data[param_num]; + controllers.opSwitch=(data[166]<<5)|(data[167]<<4)|(data[168]<<3)|(data[169]<<2)|(data[170]<<1)|data[171]; break; case 172: max_notes=data[param_num];