diff --git a/Source/Plugins/PulsePalOutput/serial/PulsePal.cpp b/Source/Plugins/PulsePalOutput/serial/PulsePal.cpp index 70e3f03ca407fe7968a6c79a4e1ab2ec4cddbd98..9b686101228799bdfe085495bb2e638893350991 100644 --- a/Source/Plugins/PulsePalOutput/serial/PulsePal.cpp +++ b/Source/Plugins/PulsePalOutput/serial/PulsePal.cpp @@ -176,7 +176,7 @@ void PulsePal::setInterPulseInterval(uint8_t channel, float timeInSeconds) uint32_t timeInCycles = (uint32_t)(timeInSeconds * CycleFreq); constrain(&timeInCycles, 1, MAX_Cycles); program(channel, 7, timeInCycles); - PulsePal::currentOutputParams[channel].interPhaseInterval = timeInSeconds; + PulsePal::currentOutputParams[channel].interPulseInterval = timeInSeconds; } void PulsePal::setBurstDuration(uint8_t channel, float timeInSeconds) @@ -519,4 +519,4 @@ void PulsePal::syncAllParams() { messageBytes[pos] = (uint8_t)currentInputParams[2].triggerMode; pos++; serial.writeBytes(messageBytes, 168); -} \ No newline at end of file +}