Fixing other AD9959 profile issues

master
Ryan Summers 2021-04-08 15:04:34 +02:00
parent 4a2d4af508
commit 35aa3eb606
1 changed files with 2 additions and 2 deletions

View File

@ -610,10 +610,10 @@ impl ProfileSerializer {
1 => {
// For a pad size of 1, we have to pad with 5 bytes to align things.
self.add_write(Register::CSR, &[(self.mode as u8) << 1]);
self.add_write(Register::LSRR, &[0, 0, 0]);
self.add_write(Register::LSRR, &[0, 0]);
}
2 => self.add_write(Register::CSR, &[(self.mode as u8) << 1]),
3 => self.add_write(Register::LSRR, &[0, 0, 0]),
3 => self.add_write(Register::LSRR, &[0, 0]),
4 => {}
_ => unreachable!(),