mbed w/ spi bug fig

Dependents:   display-puck

Fork of mbed-src by mbed official

Revision:
234:37acebda271b
Parent:
227:7bd0639b8911
--- a/targets/hal/TARGET_NXP/TARGET_LPC15XX/pwmout_api.c	Tue Jun 17 11:30:08 2014 +0100
+++ b/targets/hal/TARGET_NXP/TARGET_LPC15XX/pwmout_api.c	Wed Jun 18 09:00:08 2014 +0100
@@ -128,7 +128,6 @@
     } else if (value > 1.0f) {
         value = 1.0;
     }
-    uint32_t t_off = pwm->MATCHREL0 - (uint32_t)((float)(pwm->MATCHREL0) * value);
     uint32_t t_on = (uint32_t)((float)(pwm->MATCHREL0) * value);
     pwm->MATCHREL1 = t_on;
 }