File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
SerialPrograms/Source/Controllers Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -265,6 +265,8 @@ bool ControllerSession::set_controller(ControllerType controller_type){
265265
266266
267267std::string ControllerSession::reset (){
268+ // cout << "ControllerSession::reset()" << endl;
269+
268270 {
269271 std::lock_guard<std::mutex> lg0 (m_reset_lock);
270272
@@ -276,9 +278,10 @@ std::string ControllerSession::reset(){
276278 if (m_options_locked){
277279 return " Options are locked." ;
278280 }
279- if (!m_connection){
280- return " No connection set." ;
281- }
281+ // if (!m_connection){
282+ // cout << "ControllerSession::reset() - early return" << endl;
283+ // return "No connection set.";
284+ // }
282285
283286 // Move these out to indicate that we should no longer access them.
284287 controller = std::move (m_controller);
You can’t perform that action at this time.
0 commit comments