AP_HAL_Linux: AP_Common no longer gives board information; use AP_HAL_Boards

This commit is contained in:
Peter Barker 2019-02-13 10:46:42 +11:00 committed by Peter Barker
parent 44e89a1cd8
commit d89f740460
8 changed files with 5 additions and 9 deletions

View File

@ -18,8 +18,6 @@
#if CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_AERO
#include <AP_Common/AP_Common.h>
#include "GPIO_Aero.h"
const unsigned Linux::GPIO_Sysfs::pin_table[] = {

View File

@ -1,4 +1,4 @@
#include <AP_Common/AP_Common.h>
#include <AP_HAL/AP_HAL_Boards.h>
#if CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_BEBOP
#include "GPIO_Bebop.h"

View File

@ -1,4 +1,4 @@
#include <AP_Common/AP_Common.h>
#include <AP_HAL/AP_HAL_Boards.h>
#if CONFIG_HAL_BOARD_SUBTYPE == HAL_BOARD_SUBTYPE_LINUX_DISCO

View File

@ -1,4 +1,4 @@
#include <AP_Common/AP_Common.h>
#include <AP_HAL/AP_HAL_Boards.h>
#include "GPIO_Edge.h"

View File

@ -1,4 +1,4 @@
#include <AP_Common/AP_Common.h>
#include <AP_HAL/AP_HAL_Boards.h>
#include "GPIO_Navio.h"

View File

@ -1,4 +1,4 @@
#include <AP_Common/AP_Common.h>
#include <AP_HAL/AP_HAL_Boards.h>
#include "GPIO_Navio2.h"

View File

@ -22,7 +22,6 @@
*/
#include "RCOutput_Disco.h"
#include <AP_Common/AP_Common.h>
#include <AP_HAL/AP_HAL.h>
#include <stdio.h>

View File

@ -16,7 +16,6 @@
*/
#include "RCOutput_Sysfs.h"
#include <AP_Common/AP_Common.h>
#include <AP_HAL/AP_HAL.h>
#include <AP_Math/AP_Math.h>