Skip to content

Commit bcb11cd

Browse files
committed
Save acquisition board LED status on settings file
1 parent 710c135 commit bcb11cd

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Source/Processors/DataThreads/RHD2000Editor.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -929,6 +929,7 @@ void RHD2000Editor::saveCustomParameters(XmlElement* xml)
929929
xml->setAttribute("DSPCutoffFreq", dspInterface->getDspCutoffFreq());
930930
xml->setAttribute("save_impedance_measurements",saveImpedances);
931931
xml->setAttribute("auto_measure_impedances",measureWhenRecording);
932+
xml->setAttribute("LEDs", ledButton->getToggleState());
932933
}
933934

934935
void RHD2000Editor::loadCustomParameters(XmlElement* xml)
@@ -950,6 +951,7 @@ void RHD2000Editor::loadCustomParameters(XmlElement* xml)
950951
dspInterface->setDspCutoffFreq(xml->getDoubleAttribute("DSPCutoffFreq"));
951952
saveImpedances = xml->getBoolAttribute("save_impedance_measurements");
952953
measureWhenRecording = xml->getBoolAttribute("auto_measure_impedances");
954+
ledButton->setToggleState(xml->getBoolAttribute("LEDs", true),sendNotification);
953955
}
954956

955957

0 commit comments

Comments
 (0)