mirror of https://github.com/ArduPilot/ardupilot
AP_GPS: move from HAL_NO_GCS to HAL_GCS_ENABLED
This commit is contained in:
parent
df9de582e4
commit
6d615a3e16
|
@ -21,6 +21,7 @@
|
|||
#include "AP_GPS.h"
|
||||
#include "AP_GPS_SBF.h"
|
||||
#include <GCS_MAVLink/GCS.h>
|
||||
#include <AP_InternalError/AP_InternalError.h>
|
||||
#include <stdio.h>
|
||||
#include <ctype.h>
|
||||
|
||||
|
|
|
@ -175,7 +175,7 @@ bool AP_GPS_Backend::should_log() const
|
|||
|
||||
void AP_GPS_Backend::send_mavlink_gps_rtk(mavlink_channel_t chan)
|
||||
{
|
||||
#ifndef HAL_NO_GCS
|
||||
#if HAL_GCS_ENABLED
|
||||
const uint8_t instance = state.instance;
|
||||
// send status
|
||||
switch (instance) {
|
||||
|
|
Loading…
Reference in New Issue