Skip to content

Commit

Permalink
AP_HAL: fixed build on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed Jul 8, 2024
1 parent f770a87 commit 6f6239b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libraries/AP_HAL/Device.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@

#include "AP_HAL_Namespace.h"
#include "utility/functor.h"
#include "AP_HAL_Boards.h"

#if CONFIG_HAL_BOARD != HAL_BOARD_QURT
// we need utility for std::move, but not on QURT due to a include error in hexagon SDK
#include <utility>
#endif

/*
* This is an interface abstracting I2C and SPI devices
Expand Down

0 comments on commit 6f6239b

Please sign in to comment.