From 8881129d0386bf19bc4c5d7bbbe198314b0e72e1 Mon Sep 17 00:00:00 2001 From: Daniel Kulp Date: Tue, 10 Oct 2023 18:17:33 -0400 Subject: [PATCH] Fix no output on BBShiftString caused by fixes for BBB pru data initialization --- src/non-gpl/BBShiftString/BBShiftString.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/non-gpl/BBShiftString/BBShiftString.cpp b/src/non-gpl/BBShiftString/BBShiftString.cpp index 8c38e6c81..5269d845e 100644 --- a/src/non-gpl/BBShiftString/BBShiftString.cpp +++ b/src/non-gpl/BBShiftString/BBShiftString.cpp @@ -378,9 +378,9 @@ int BBShiftStringOutput::StartPRU() { m_pru1.pruData = (BBShiftStringData*)m_pru1.pru->data_ram; m_pru1.pruData->command = 0; m_pru1.pruData->address_dma = m_pru1.pru->ddr_addr; - createOutputLengths(m_pru1, "pru1"); m_pru1.pru->run("/tmp/BBShiftString_pru1.out"); + createOutputLengths(m_pru1, "pru1"); std::this_thread::sleep_for(std::chrono::milliseconds(10)); } if (m_pru0.maxStringLen) { @@ -399,8 +399,8 @@ int BBShiftStringOutput::StartPRU() { m_pru0.pruData = (BBShiftStringData*)m_pru0.pru->data_ram; m_pru0.pruData->command = 0; m_pru0.pruData->address_dma = m_pru0.pru->ddr_addr; - createOutputLengths(m_pru0, "pru0"); m_pru0.pru->run("/tmp/BBShiftString_pru0.out"); + createOutputLengths(m_pru0, "pru0"); } return 1; }