Browse Source

AP_InternalError: move include of BoardConfig to cpp

This breaks an include loop when building for skyviper-v2450
master
Peter Barker 6 years ago committed by Peter Barker
parent
commit
cee3d8086b
  1. 2
      libraries/AP_InternalError/AP_InternalError.cpp
  2. 2
      libraries/AP_InternalError/AP_InternalError.h

2
libraries/AP_InternalError/AP_InternalError.cpp

@ -1,5 +1,7 @@ @@ -1,5 +1,7 @@
#include "AP_InternalError.h"
#include <AP_BoardConfig/AP_BoardConfig.h>
extern const AP_HAL::HAL &hal;
// actually create the instance:

2
libraries/AP_InternalError/AP_InternalError.h

@ -22,7 +22,7 @@ @@ -22,7 +22,7 @@
#pragma once
#include <AP_BoardConfig/AP_BoardConfig.h>
#include <stdint.h>
class AP_InternalError {
public:

Loading…
Cancel
Save