forked from M-Labs/artiq
1
0
Fork 0

firmware/ad9154: reduce verbosity of dac_sysref_cfg

This commit is contained in:
Florent Kermarrec 2018-05-09 10:57:00 +02:00
parent f055bf88f6
commit 9de08f85c6
1 changed files with 3 additions and 1 deletions

View File

@ -623,7 +623,9 @@ fn dac_sysref_cfg(dacno: u8) {
let sync_error = ((read(ad9154_reg::SYNC_CURRERR_L) as u16) |
((read(ad9154_reg::SYNC_CURRERR_H) as u16) << 8))
& 0x1ff;
if sync_error != sync_error_last {
info!(" phase: {}, sync error: {}", phase, sync_error);
}
if sync_error != 0 {
if phase_min_found {
if sync_error != sync_error_last {