From 5f2e0159b041f58203e442604b0eb94d14296d75 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 25 Feb 2022 16:06:29 +1100 Subject: [PATCH] AP_Radio: include cleanups --- libraries/AP_Radio/AP_Radio.h | 3 +-- libraries/AP_Radio/AP_Radio_backend.h | 2 ++ libraries/AP_Radio/AP_Radio_cc2500.cpp | 2 +- libraries/AP_Radio/AP_Radio_cypress.cpp | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/libraries/AP_Radio/AP_Radio.h b/libraries/AP_Radio/AP_Radio.h index 231f11504f..0095457de2 100644 --- a/libraries/AP_Radio/AP_Radio.h +++ b/libraries/AP_Radio/AP_Radio.h @@ -18,9 +18,8 @@ * base class for direct attached radios */ -#include #include -#include +#include class AP_Radio_backend; diff --git a/libraries/AP_Radio/AP_Radio_backend.h b/libraries/AP_Radio/AP_Radio_backend.h index e6c3bda92b..a1fd9e168e 100644 --- a/libraries/AP_Radio/AP_Radio_backend.h +++ b/libraries/AP_Radio/AP_Radio_backend.h @@ -21,6 +21,8 @@ #include #include "AP_Radio.h" +#include + class AP_Radio_backend { public: diff --git a/libraries/AP_Radio/AP_Radio_cc2500.cpp b/libraries/AP_Radio/AP_Radio_cc2500.cpp index 999ed188f7..a4e43744a4 100644 --- a/libraries/AP_Radio/AP_Radio_cc2500.cpp +++ b/libraries/AP_Radio/AP_Radio_cc2500.cpp @@ -16,7 +16,7 @@ #include #include #include -#include +#include #include #include diff --git a/libraries/AP_Radio/AP_Radio_cypress.cpp b/libraries/AP_Radio/AP_Radio_cypress.cpp index a9f08f7375..a66de15358 100644 --- a/libraries/AP_Radio/AP_Radio_cypress.cpp +++ b/libraries/AP_Radio/AP_Radio_cypress.cpp @@ -11,7 +11,7 @@ #include #include "telem_structure.h" #include -#include +#include /* driver for CYRF6936 radio