From 5dc18b9a540ea1c78abdb892bad17721bbb9923e Mon Sep 17 00:00:00 2001 From: raspilot Date: Wed, 30 Sep 2015 23:02:48 +0800 Subject: [PATCH] HAL_Linux_Class: Fix the broken declare of "LinuxUtilRPI utilInstance" at building raspilot. --- libraries/AP_HAL_Linux/HAL_Linux_Class.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL_Linux/HAL_Linux_Class.cpp b/libraries/AP_HAL_Linux/HAL_Linux_Class.cpp index 7a65b85b3e..a714913a04 100644 --- a/libraries/AP_HAL_Linux/HAL_Linux_Class.cpp +++ b/libraries/AP_HAL_Linux/HAL_Linux_Class.cpp @@ -119,7 +119,7 @@ static Empty::EmptyRCOutput rcoutDriver; #endif static LinuxScheduler schedulerInstance; -#if CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_NAVIO +#if CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_NAVIO || CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_RASPILOT static LinuxUtilRPI utilInstance; #else static LinuxUtil utilInstance;