Mercurial > ~darius > hgwebdir.cgi > modulator
changeset 20:6aaa9658df1e
Don't mark pulse active on slew up/down.
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Tue, 25 Feb 2025 15:46:03 +1030 |
parents | 2e14ccd1338a |
children | 8d759cf5a9e7 |
files | modulator.c |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/modulator.c Tue Feb 25 14:53:40 2025 +1030 +++ b/modulator.c Tue Feb 25 15:46:03 2025 +1030 @@ -225,7 +225,6 @@ // Up slew for (uint16_t i = 0; i < slew1; i++) { - ctrl[idx] |= PACTIVE; data[idx++] = qtoi(qdiv(qmul(qint(dcofs), qint(i)), qint(slew1))); } for (uint16_t c = 0; c < ncode; c++) { @@ -284,7 +283,6 @@ // Down slew for (uint16_t i = 0; i < slew2 + 1; i++) { - ctrl[idx] |= PACTIVE; data[idx++] = qtoi(qdiv(qmul(qint(dcofs), qint(slew2 - i)), qint(slew2))); }