mirror of https://github.com/ArduPilot/ardupilot
18 lines
313 B
C
18 lines
313 B
C
|
#pragma once
|
||
|
|
||
|
#include "Util.h"
|
||
|
|
||
|
class Linux::LinuxUtilNavio : public Linux::LinuxUtil {
|
||
|
public:
|
||
|
LinuxUtilNavio();
|
||
|
/* return the Raspberry Pi version */
|
||
|
int get_rpi_version() const;
|
||
|
|
||
|
protected:
|
||
|
// Called in the constructor once
|
||
|
int _check_rpi_version();
|
||
|
|
||
|
private:
|
||
|
int _rpi_version = 0;
|
||
|
};
|