diff --git a/libraries/AP_Relay/AP_Relay.cpp b/libraries/AP_Relay/AP_Relay.cpp
index 180dc8d7e72772aeeefdc488d1fee80d4445751f..cd16ddf176a7e726cf4a39ea5874c298ddf55942 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