Fix compilation with -std=gnu++11

See https://github.com/rogerclarkmelbourne/Arduino_STM32/issues/402
This commit is contained in:
Thomas Friedrichsmeier 2017-12-12 10:58:22 +01:00
parent 1cc4f79191
commit 63f4162c6c
1 changed files with 2 additions and 2 deletions

View File

@ -152,7 +152,7 @@ private:
voidFuncPtr _DMA_int;
voidFuncPtr _ADC_int;
voidFuncPtr _AWD_int;
static const float _AverageSlope = 4.3; // mV/oC //4.0 to 4.6
static const float _V25 = 1.43; //Volts //1.34 - 1.52
static constexpr float _AverageSlope = 4.3; // mV/oC //4.0 to 4.6
static constexpr float _V25 = 1.43; //Volts //1.34 - 1.52
};