Skip to content

Commit 287f654

Browse files
committed
BBShiftString doesn't need the "other" PRU's data memory or the shared ram, don't map it
1 parent 4e524de commit 287f654

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/non-gpl/BBShiftString/BBShiftString.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ int BBShiftStringOutput::StartPRU() {
337337
}
338338

339339
if (m_pru1.maxStringLen) {
340-
m_pru1.pru = new BBBPru(1, true, true);
340+
m_pru1.pru = new BBBPru(1, false, false);
341341
m_pru1.pruData = (BBShiftStringData*)m_pru1.pru->data_ram;
342342
if (!m_pru1.pru->run("/opt/fpp/src/non-gpl/BBShiftString/BBShiftString_pru1.out")) {
343343
LogErr(VB_CHANNELOUT, "BBShiftString: Unable to start PRU1. May require a reboot.\n");
@@ -348,7 +348,7 @@ int BBShiftStringOutput::StartPRU() {
348348
std::this_thread::sleep_for(std::chrono::milliseconds(10));
349349
}
350350
if (m_pru0.maxStringLen) {
351-
m_pru0.pru = new BBBPru(0, true, true);
351+
m_pru0.pru = new BBBPru(0, false, false);
352352
m_pru0.pruData = (BBShiftStringData*)m_pru0.pru->data_ram;
353353
if (!m_pru0.pru->run("/opt/fpp/src/non-gpl/BBShiftString/BBShiftString_pru0.out")) {
354354
LogErr(VB_CHANNELOUT, "BBShiftString: Unable to start PRU0. May require a reboot.\n");

0 commit comments

Comments
 (0)