Skip to content
Snippets Groups Projects
Verified Commit 6ae1df6a authored by Tobias Triffterer's avatar Tobias Triffterer :house_with_garden:
Browse files

Change Pressure Unit to hPa

Hectopascal is identical to millibar, but Pascal is the SI unit, so we
go with it...
parent c9e456df
No related branches found
No related tags found
No related merge requests found
Pipeline #2913 passed with stage
in 21 seconds
......@@ -52,14 +52,14 @@ public:
static const constexpr uint16_t NumberOfAdcChannels = 4096;
using PressureMillibar = UInt32BoundedDouble<0, 1500>;
using PressureHectoPascal = UInt32BoundedDouble<0, 1500>;
using TargetPositionMilliMeter = UInt32BoundedDouble<14, 200>;
using AdcConversion = GenericBoundedNumeral<uint16_t, uint16_t, 0, NumberOfAdcChannels - 1>;
uint64_t id = 0;
AdcState adcState = AdcState::Stopped;
BeamHoleState beamHoleState = BeamHoleState::Closed;
PressureMillibar pressure = PressureMillibar::minimum ;
PressureHectoPascal pressure = PressureHectoPascal::minimum ;
TargetPositionMilliMeter targetPosition = TargetPositionMilliMeter::minimum;
AdcConversion adcThreshold = AdcConversion::minimum;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment