diff --git a/app/decode-reg.cc b/app/decode-reg.cc index 386ea8a..bb933cf 100644 --- a/app/decode-reg.cc +++ b/app/decode-reg.cc @@ -241,6 +241,14 @@ int main(int argc, char *argv[]) } dec->get_data(); + + if (type == "pos_calc") { + /* force module to actually read these registers */ + auto dec_pos_calc = dynamic_cast(dec.get()); + dec_pos_calc->fifo_empty(); + dec_pos_calc->get_fifo_amps(); + } + dec->print(stdout, verbose); } while (watch); } else {