Fixing end index
This commit is contained in:
parent
bf3dae814d
commit
4a2d4af508
|
@ -583,7 +583,7 @@ impl ProfileSerializer {
|
||||||
}
|
}
|
||||||
|
|
||||||
if let Some(acr) = acr {
|
if let Some(acr) = acr {
|
||||||
self.add_write(Register::ACR, &acr.to_be_bytes()[1..=4]);
|
self.add_write(Register::ACR, &acr.to_be_bytes()[1..=3]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue