From c46fe580c2fc11cc005e2d65d4b7a2c36b8d8f91 Mon Sep 17 00:00:00 2001 From: Amilcar Lucas Date: Sun, 2 Oct 2011 02:27:33 +0200 Subject: [PATCH] Implement relay get() --- libraries/AP_Relay/AP_Relay.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libraries/AP_Relay/AP_Relay.cpp b/libraries/AP_Relay/AP_Relay.cpp index f57a74b503..0c62abb449 100644 --- a/libraries/AP_Relay/AP_Relay.cpp +++ b/libraries/AP_Relay/AP_Relay.cpp @@ -41,6 +41,5 @@ void AP_Relay::set(bool status) bool AP_Relay::get() { - // TODO get the relay status - return false; + return PORTL & B00000100; }