mbed library sources
Fork of mbed-src by
Diff: targets/hal/TARGET_Maxim/TARGET_MAX32610/analogout_api.c
- Revision:
- 515:7467ef1f4ad8
- Parent:
- 507:d4fc7603a669
--- a/targets/hal/TARGET_Maxim/TARGET_MAX32610/analogout_api.c Thu Apr 16 11:45:13 2015 +0100 +++ b/targets/hal/TARGET_Maxim/TARGET_MAX32610/analogout_api.c Fri Apr 17 08:45:07 2015 +0100 @@ -183,8 +183,7 @@ MXC_F_DAC_CTRL0_CLOCK_GATE_EN | MXC_F_DAC_CTRL0_CPU_START); if(obj->index < 2) { - // Convert 16 bits to 12 bits - obj->out = (value >> 4); + obj->out = (value); obj->dac_fifo->output_16 = (obj->out); } else {