Skip to content

Commit

Permalink
plugin: ftp: Fix open error.
Browse files Browse the repository at this point in the history
Issue #128.
  • Loading branch information
vooon committed Sep 2, 2014
1 parent 036c8a1 commit 183712c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mavros/src/plugins/ftp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -587,8 +587,10 @@ class FTPPlugin : public MavRosPlugin {
send_open_command();
//else if (mode == mavros::FileOpenRequest::MODE_WRITE)
// send_create_command();
else
else {
op_state = OP_IDLE;
return false;
}

return true;
}
Expand Down

0 comments on commit 183712c

Please sign in to comment.