File tree Expand file tree Collapse file tree
Source/Processors/RecordNode Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -391,7 +391,7 @@ void RecordNode::updateSettings()
391391 ++it;
392392 }
393393
394- #ifdef WIN32
394+ #ifdef _WIN32
395395 // check Open Ephys format on windows
396396 if (recordEngine->getEngineId ().equalsIgnoreCase (" OPENEPHYS" ) && getNumInputs () > 300 )
397397 {
Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ void RecordNodeEditor::comboBoxChanged(ComboBox* box)
158158
159159 std::vector<RecordEngineManager*> engines = CoreServices::getAvailableRecordEngines ();
160160
161- #ifdef WIN32
161+ #ifdef _WIN32
162162 if (engines[selectedEngineIndex]->getID ().equalsIgnoreCase (" OPENEPHYS" ) &&
163163 recordNode->getNumInputs () > 300 )
164164 {
@@ -174,8 +174,9 @@ void RecordNodeEditor::comboBoxChanged(ComboBox* box)
174174 " WARNING" , " Open Ephys format does not support this many simultaneously recorded channels. Resetting to Binary format." );
175175 box->setSelectedItemIndex (0 );
176176 recordNode->setEngine (" BINARY" );
177+
178+ return ;
177179 }
178- return ;
179180 }
180181#endif
181182
You can’t perform that action at this time.
0 commit comments