firmware: cpcap: Fixes for LED blink macro
authorGreg Meiste <w30289@motorola.com>
Wed, 20 Oct 2010 14:48:58 +0000 (09:48 -0500)
committerRebecca Schultz Zavin <rebecca@android.com>
Fri, 22 Oct 2010 22:20:52 +0000 (15:20 -0700)
commitc5107b9d5ca265a8e641c89894b88ae0942e1747
tree51749cc0d7f8f8996b981e7c8cff19ba9cc67f78
parent2a169df593643ff1c57a4d8f4f94419065905f44
firmware: cpcap: Fixes for LED blink macro

1) The uC should not have been changing the current, only the
   duty cycle.

2) The blink pattern (300ms on, 2700ms off) does not work when
   fading is introduced. Change the on/off times to work with
   the new pattern (on instantly, then fade for 2 seconds, then
   off for 2700ms).

3) Update how the duty cycle is saved. Before it was saved once
   and could never been updated again until the device was
   restarted. Now the duty cycle can be changed without a reboot.

Change-Id: Iaa193eae35046e53661e0db5386141e4d17ac9c3
Signed-off-by: Greg Meiste <w30289@motorola.com>
firmware/cpcap/firmware_0_2x.HEX