FreeCalypso > hg > freecalypso-tools
changeset 279:36ae854536e8
fc-readcal: fixed bug in the shifting of afcdac
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 17 Nov 2017 04:38:11 +0000 |
parents | 31d056f37647 |
children | 36922911e6bb |
files | rvinterf/etmsync/readcal.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rvinterf/etmsync/readcal.c Fri Nov 17 01:22:06 2017 +0000 +++ b/rvinterf/etmsync/readcal.c Fri Nov 17 04:38:11 2017 +0000 @@ -63,7 +63,7 @@ rc = do_rfpr(INITIAL_AFC_DAC, &datum); if (rc) exit(rc); - datum << 3; + datum <<= 3; bytes[0] = datum; bytes[1] = datum >> 8; write_out_file("afcdac", bytes, 2);