Browse Source

AP_Notify: fix for HAL_SITL rename

mission-4.1.18
Andrew Tridgell 10 years ago
parent
commit
9f10e2d26c
  1. 2
      libraries/AP_Notify/AP_BoardLED.h
  2. 2
      libraries/AP_Notify/examples/ToshibaLED_test/ToshibaLED_test.pde

2
libraries/AP_Notify/AP_BoardLED.h

@ -55,7 +55,7 @@
# define HAL_GPIO_C_LED_PIN 16 # define HAL_GPIO_C_LED_PIN 16
# define HAL_GPIO_LED_ON LOW # define HAL_GPIO_LED_ON LOW
# define HAL_GPIO_LED_OFF HIGH # define HAL_GPIO_LED_OFF HIGH
#elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX || CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL #elif CONFIG_HAL_BOARD == HAL_BOARD_LINUX || CONFIG_HAL_BOARD == HAL_BOARD_SITL
# define HAL_GPIO_A_LED_PIN 61 # define HAL_GPIO_A_LED_PIN 61
# define HAL_GPIO_B_LED_PIN 48 # define HAL_GPIO_B_LED_PIN 48
# define HAL_GPIO_C_LED_PIN 117 # define HAL_GPIO_C_LED_PIN 117

2
libraries/AP_Notify/examples/ToshibaLED_test/ToshibaLED_test.pde

@ -17,7 +17,7 @@
#include <AP_Declination.h> #include <AP_Declination.h>
#include <AP_HAL.h> #include <AP_HAL.h>
#include <AP_HAL_AVR.h> #include <AP_HAL_AVR.h>
#include <AP_HAL_AVR_SITL.h> #include <AP_HAL_SITL.h>
#include <AP_HAL_Linux.h> #include <AP_HAL_Linux.h>
#include <AP_HAL_PX4.h> #include <AP_HAL_PX4.h>
#include <AP_HAL_Empty.h> #include <AP_HAL_Empty.h>

Loading…
Cancel
Save