ACM: fixed HIL build

This commit is contained in:
Andrew Tridgell 2012-04-30 22:41:57 +10:00
parent eee5a5bff0
commit 94b763fa1e

View File

@ -566,7 +566,8 @@ test_imu(uint8_t argc, const Menu::arg *argv)
static int8_t
test_gps(uint8_t argc, const Menu::arg *argv)
{
#if defined( __AVR_ATmega1280__ ) // test disabled to save code size for 1280
// test disabled to save code size for 1280
#if defined( __AVR_ATmega1280__ ) || HIL_MODE != HIL_MODE_DISABLED
print_test_disabled();
return (0);
#else