This website works better with JavaScript.
Home
Explore
Help
Sign In
mh
/
espurna-mirror
mirror of
https://github.com/xoseperez/espurna
Watch
1
Star
0
Fork
1
Code
Releases
72
Activity
Browse Source
ina219: another case of constexpr static binding
pull/2516/head
Maxim Prokhorov
2 years ago
parent
c9e3cd65f4
commit
d9e87552ce
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
code/espurna/sensors/INA219Sensor.h
+ 4
- 0
code/espurna/sensors/INA219Sensor.h
View File
@ -515,3 +515,7 @@ public:
return
0
;
}
}
;
#
if __cplusplus < 201703L
constexpr
BaseSensor
:
:
Magnitude
INA219Sensor
:
:
Magnitudes
[
]
;
#
endif
Write
Preview
Loading…
Cancel
Save