mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
AP_Notify: add missing include to use board config
<command-line>:0:18: warning: "HAL_BOARD_LINUX" is not defined [-Wundef] ../../libraries/AP_Notify/Buzzer.h:20:5: note: in expansion of macro ‘CONFIG_HAL_BOARD’ #if CONFIG_HAL_BOARD == HAL_BOARD_VRBRAIN ^ In file included from ../../libraries/AP_Notify/Buzzer.cpp:18:0: ../../libraries/AP_Notify/Buzzer.h:20:25: warning: "HAL_BOARD_VRBRAIN" is not defined [-Wundef] #if CONFIG_HAL_BOARD == HAL_BOARD_VRBRAIN ^
This commit is contained in:
parent
69f6a73c19
commit
7d24b4d1ca
@ -17,6 +17,8 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <AP_HAL/AP_HAL.h>
|
||||
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_VRBRAIN
|
||||
# define BUZZER_PIN 32
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user