5
0
mirror of https://github.com/ArduPilot/ardupilot synced 2025-01-10 01:48:29 -04:00

HAL_Linux_Class: Fix the broken declare of "LinuxUtilRPI utilInstance" at building raspilot.

This commit is contained in:
raspilot 2015-09-30 23:02:48 +08:00 committed by Andrew Tridgell
parent 1a2b5ff677
commit 5dc18b9a54

View File

@ -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;