Fixing end index

This commit is contained in:
Ryan Summers 2021-04-08 15:00:30 +02:00
parent bf3dae814d
commit 4a2d4af508
1 changed files with 1 additions and 1 deletions

View File

@ -583,7 +583,7 @@ impl ProfileSerializer {
}
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]);
}
}