Skip to content

Commit

Permalink
AP_Frsky_Telem: refactor includes order: AP headers, local headers, s…
Browse files Browse the repository at this point in the history
…tandard headers
  • Loading branch information
yaapu committed Jul 11, 2020
1 parent 5141371 commit f0d9181
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
4 changes: 1 addition & 3 deletions libraries/AP_Frsky_Telem/AP_Frsky_Telem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
FRSKY Telemetry library
*/

#include "AP_Frsky_Telem.h"

#include <AP_AHRS/AP_AHRS.h>
#include <AP_Baro/AP_Baro.h>
#include <AP_BattMonitor/AP_BattMonitor.h>
Expand All @@ -36,7 +34,7 @@
#include <AP_Param/AP_Param.h>
#include <AP_RangeFinder/AP_RangeFinder.h>
#include <AP_Vehicle/AP_Vehicle.h>

#include "AP_Frsky_Telem.h"
#include <stdio.h>
#include <math.h>

Expand Down
5 changes: 2 additions & 3 deletions libraries/AP_Frsky_Telem/AP_Frsky_Telem.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,13 @@
*/
#pragma once

#include "AP_Frsky_Parameters.h"
#include "frsky.h"

#include <AP_HAL/AP_HAL.h>
#include <AP_HAL/utility/RingBuffer.h>
#include <AP_Notify/AP_Notify.h>
#include <AP_RCTelemetry/AP_RCTelemetry.h>
#include <AP_SerialManager/AP_SerialManager.h>
#include "AP_Frsky_Parameters.h"
#include "frsky.h"

#ifndef HAL_WITH_FRSKY_TELEM_BIDIRECTIONAL
#define HAL_WITH_FRSKY_TELEM_BIDIRECTIONAL 1
Expand Down
3 changes: 1 addition & 2 deletions libraries/AP_Frsky_Telem/mavlite.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "mavlite.h"

#include <AP_Math/AP_Math.h>
#include "mavlite.h"
#include <stdint.h>

#if HAL_WITH_FRSKY_TELEM_BIDIRECTIONAL
Expand Down

0 comments on commit f0d9181

Please sign in to comment.