mirror of https://github.com/ArduPilot/ardupilot
AP_HAL_PX4: Remove unused extern declaration for HALs
This commit is contained in:
parent
6773e18bc4
commit
c43474fbf4
|
@ -1,6 +1,4 @@
|
||||||
|
#pragma once
|
||||||
#ifndef __AP_HAL_PX4_CLASS_H__
|
|
||||||
#define __AP_HAL_PX4_CLASS_H__
|
|
||||||
|
|
||||||
#include <AP_HAL/AP_HAL.h>
|
#include <AP_HAL/AP_HAL.h>
|
||||||
|
|
||||||
|
@ -13,13 +11,10 @@
|
||||||
|
|
||||||
class HAL_PX4 : public AP_HAL::HAL {
|
class HAL_PX4 : public AP_HAL::HAL {
|
||||||
public:
|
public:
|
||||||
HAL_PX4();
|
HAL_PX4();
|
||||||
void run(int argc, char* const argv[], Callbacks* callbacks) const override;
|
void run(int argc, char* const argv[], Callbacks* callbacks) const override;
|
||||||
};
|
};
|
||||||
|
|
||||||
void hal_px4_set_priority(uint8_t priority);
|
void hal_px4_set_priority(uint8_t priority);
|
||||||
|
|
||||||
extern const HAL_PX4 AP_HAL_PX4;
|
|
||||||
|
|
||||||
#endif // CONFIG_HAL_BOARD == HAL_BOARD_PX4
|
#endif // CONFIG_HAL_BOARD == HAL_BOARD_PX4
|
||||||
#endif // __AP_HAL_PX4_CLASS_H__
|
|
||||||
|
|
Loading…
Reference in New Issue