AP_HAL: correct include ordering in srxl.h

The header needs stdint.h which it was only getting because it was
included after stdint.h in the cpp file.

Stop including standard headers before other ArduPilot headers
This commit is contained in:
Peter Barker 2019-09-11 10:11:49 +10:00 committed by Andrew Tridgell
parent 4197fdeb2a
commit 10675ab5c4
2 changed files with 6 additions and 4 deletions

View File

@ -20,13 +20,13 @@
- 2016.10.23: SRXL variant V1 sucessfully (Testbench and Pixhawk/MissionPlanner) tested with RX-9-DR M-LINK (SW v1.26)
*/
#include "srxl.h"
#include <AP_Math/crc.h>
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <AP_Math/crc.h>
#include "srxl.h"
/* SRXL datastream characteristics for all variants */
#define SRXL_MIN_FRAMESPACE_US 8000U /* Minumum space between srxl frames in us (applies to all variants) */

View File

@ -19,6 +19,8 @@
#pragma once
#include <stdint.h>
/*
* Decoder for SRXL protocol
*