repo.or.cz
/
ExpressLRS.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Silence unused-variable warning (#2872)
[ExpressLRS.git]
/
src
/
lib
/
Baro
/
devBaro.h
blob
7b50eaec970aa0095e36bd5f67b6575294d379e7
1
#pragma once
2
3
#include
"common.h"
4
#include
"device.h"
5
#if defined(USE_ANALOG_VBAT)
6
#include
"devAnalogVbat.h"
7
#endif
8
9
#if defined(TARGET_UNIFIED_RX)
10
#define HAS_BARO
11
#endif
12
13
#if defined(HAS_BARO)
14
15
enum
eBaroReadState
:
uint8_t
16
{
17
brsNoBaro
,
18
brsUninitialized
,
19
brsReadTemp
,
20
brsWaitingTemp
,
21
brsReadPres
,
22
brsWaitingPress
23
};
24
25
extern
device_t Baro_device
;
26
#endif