From 0c0c8e943a2ec70a91386b65c17c563b6e40a782 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Tue, 12 Aug 2014 07:30:01 +0200 Subject: [PATCH] Fixed missing return value after last change set --- src/drivers/px4io/px4io.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drivers/px4io/px4io.cpp b/src/drivers/px4io/px4io.cpp index bc0e6a221c..32069cf09b 100644 --- a/src/drivers/px4io/px4io.cpp +++ b/src/drivers/px4io/px4io.cpp @@ -142,7 +142,7 @@ public: * * @param disable_rc_handling set to true to forbid override / RC handling on IO */ - virtual int init(bool disable_rc_handling); + int init(bool disable_rc_handling); /** * Detect if a PX4IO is connected. @@ -591,7 +591,7 @@ PX4IO::detect() int PX4IO::init(bool rc_handling_disabled) { _rc_handling_disabled = rc_handling_disabled; - init(); + return init(); } int