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 #endif
static LinuxScheduler schedulerInstance; 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; static LinuxUtilRPI utilInstance;
#else #else
static LinuxUtil utilInstance; static LinuxUtil utilInstance;