mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-27 19:18:28 -04:00
uncrustify libraries/AP_ADC/AP_ADC_HIL.h
This commit is contained in:
parent
2ff3af5e01
commit
520ab058a7
@ -2,15 +2,15 @@
|
||||
#define AP_ADC_HIL_H
|
||||
|
||||
/*
|
||||
AP_ADC_HIL.h
|
||||
Author: James Goppert
|
||||
|
||||
License:
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
*/
|
||||
* AP_ADC_HIL.h
|
||||
* Author: James Goppert
|
||||
*
|
||||
* License:
|
||||
* This library is free software; you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 2.1 of the License, or (at your option) any later version.
|
||||
*/
|
||||
|
||||
#include <inttypes.h>
|
||||
#include "AP_ADC.h"
|
||||
@ -20,7 +20,7 @@
|
||||
// @author James Goppert DIYDrones.com
|
||||
class AP_ADC_HIL : public AP_ADC
|
||||
{
|
||||
public:
|
||||
public:
|
||||
|
||||
///
|
||||
// Constructor
|
||||
@ -47,7 +47,7 @@ class AP_ADC_HIL : public AP_ADC
|
||||
void setHIL(int16_t p, int16_t q, int16_t r, int16_t gyroTemp,
|
||||
int16_t aX, int16_t aY, int16_t aZ, int16_t diffPress);
|
||||
|
||||
private:
|
||||
private:
|
||||
|
||||
///
|
||||
// The raw adc array
|
||||
@ -88,12 +88,14 @@ class AP_ADC_HIL : public AP_ADC
|
||||
///
|
||||
// Sets the differential pressure adc channel
|
||||
// TODO: implement
|
||||
void setPressure(int16_t val) {}
|
||||
void setPressure(int16_t val) {
|
||||
}
|
||||
|
||||
///
|
||||
// Sets the gyro temp adc channel
|
||||
// TODO: implement
|
||||
void setGyroTemp(int16_t val) {}
|
||||
void setGyroTemp(int16_t val) {
|
||||
}
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user