hmc7043: disable ch 10 and 11 group

This commit is contained in:
Robert Jördens 2018-06-15 14:41:26 +00:00
parent 70fd369e2f
commit 40baa8ecba

View File

@ -267,8 +267,7 @@ pub mod hmc7043 {
write(0x4, (1 << 0) |
(1 << 1) |
(1 << 3) |
(1 << 4) |
(1 << 5));
(1 << 4));
write(0x5c, (HMC_SYSREF_DIV & 0xff) as u8); // Set SYSREF timer divider
write(0x5d, ((HMC_SYSREF_DIV & 0x0f) >> 8) as u8);