Another little fix for the two's complement change -- initialize SGPIO data registers to DAC zero values.

This commit is contained in:
Jared Boone
2013-11-17 22:23:08 -08:00
parent d006ec769c
commit 967e699815

View File

@ -215,8 +215,8 @@ void sgpio_configure(
SGPIO_POS_POS_RESET(pos) SGPIO_POS_POS_RESET(pos)
| SGPIO_POS_POS(pos) | SGPIO_POS_POS(pos)
; ;
SGPIO_REG(slice_index) = 0x80808080; // Primary output data register SGPIO_REG(slice_index) = 0x00000000; // Primary output data register
SGPIO_REG_SS(slice_index) = 0x80808080; // Shadow output data register SGPIO_REG_SS(slice_index) = 0x00000000; // Shadow output data register
slice_enable_mask |= (1 << slice_index); slice_enable_mask |= (1 << slice_index);
} }