From 69d2633465ed889c41fb492f006d5b25165ab5df Mon Sep 17 00:00:00 2001
From: Emile Castelnuovo <emile.castelnuovo@gmail.com>
Date: Mon, 31 Mar 2014 19:54:43 +0200
Subject: [PATCH] AP_Relay: added #defines for VRBRAIN board

---
 libraries/AP_Relay/AP_Relay.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libraries/AP_Relay/AP_Relay.cpp b/libraries/AP_Relay/AP_Relay.cpp
index 180dc8d7e..cd16ddf17 100644
--- a/libraries/AP_Relay/AP_Relay.cpp
+++ b/libraries/AP_Relay/AP_Relay.cpp
@@ -20,6 +20,8 @@
 #else
 #define RELAY_PIN 54
 #endif
+#elif CONFIG_HAL_BOARD == HAL_BOARD_VRBRAIN
+#define RELAY_PIN -1
 #else
 // no relay for this board
 #define RELAY_PIN -1
-- 
GitLab