AP_GPS: add and use AP_GPS_ENABLED

This commit is contained in:
Peter Barker 2023-06-20 16:40:34 +10:00 committed by Peter Barker
parent 61affcf4e4
commit 6f292c02da
1 changed files with 5 additions and 1 deletions

View File

@ -2,8 +2,12 @@
#include <AP_HAL/AP_HAL_Boards.h>
#ifndef AP_GPS_ENABLED
#define AP_GPS_ENABLED 1
#endif
#ifndef AP_GPS_BACKEND_DEFAULT_ENABLED
#define AP_GPS_BACKEND_DEFAULT_ENABLED 1
#define AP_GPS_BACKEND_DEFAULT_ENABLED AP_GPS_ENABLED
#endif
#ifndef AP_GPS_ERB_ENABLED