mirror of https://github.com/m-labs/artiq.git
Sayma: fix mistake in HMC7043 init code.
This commit is contained in:
parent
bd1ac7cf3b
commit
988054f4bb
|
@ -270,8 +270,8 @@ pub mod hmc7043 {
|
|||
else { write(channel_base, 0x51); }
|
||||
}
|
||||
else { write(channel_base, 0x10); }
|
||||
write(channel_base + 0x1, (divider & 0x0ff) as u8);
|
||||
write(channel_base + 0x2, ((divider & 0x700) >> 8) as u8);
|
||||
write(channel_base + 0x1, (divider & 0xff) as u8);
|
||||
write(channel_base + 0x2, ((divider & 0x0f) >> 8) as u8);
|
||||
write(channel_base + 0x3, aphase & 0x1f);
|
||||
write(channel_base + 0x4, dphase & 0x1f);
|
||||
|
||||
|
|
Loading…
Reference in New Issue