diff --git a/fpga/lib/ips/dino.cpp b/fpga/lib/ips/dino.cpp index a5f2ff315..bb798d352 100644 --- a/fpga/lib/ips/dino.cpp +++ b/fpga/lib/ips/dino.cpp @@ -139,7 +139,6 @@ void DinoAdc::configureHardware() { void DinoAdc::setRegisterConfig(std::shared_ptr reg, double sampleRate) { - // This is Dino specific for now - we should possibly move this to Dino in the future constexpr double dinoClk = 25e6; // Dino is clocked with 25 Mhz uint32_t dinoTimerVal = static_cast(dinoClk / sampleRate); diff --git a/lib/nodes/fpga.cpp b/lib/nodes/fpga.cpp index 853d7ab65..32c1671b9 100644 --- a/lib/nodes/fpga.cpp +++ b/lib/nodes/fpga.cpp @@ -227,7 +227,7 @@ int FpgaNode::fastWrite(Sample *smps[], unsigned cnt) { } } logger->info("Writing sample: {}, {}, {:#x}", smp->data[0].f, - smp->signals->getByIndex(0)->type, mem[0]); + signalTypeToString(smp->signals->getByIndex(0)->type), mem[0]); dma->writeScatterGatherFast(); auto written = dma->writeScatterGatherPoll() / sizeof(float); // The number of samples written