AP_Relay: fix missing math include

This commit is contained in:
Iampete1 2024-01-17 23:15:17 +00:00 committed by Andrew Tridgell
parent cbe22af35f
commit 92ea15f9c3
3 changed files with 1 additions and 2 deletions

View File

@ -12,6 +12,7 @@
#include "AP_Relay.h"
#include <AP_HAL/AP_HAL.h>
#include <AP_Math/AP_Math.h>
#include <GCS_MAVLink/GCS.h>
#include <AP_Logger/AP_Logger.h>

View File

@ -15,7 +15,6 @@
#include <AP_Param/AP_Param.h>
#include <AP_Relay/AP_Relay_Params.h>
#include <AP_Common/Bitmask.h>
#ifndef AP_RELAY_NUM_RELAYS
#define AP_RELAY_NUM_RELAYS 6

View File

@ -1,7 +1,6 @@
#pragma once
#include <AP_Param/AP_Param.h>
#include "AP_Relay_config.h"
class AP_Relay_Params {
public: