Browse Source

ina219: another case of constexpr static binding

pull/2516/head
Maxim Prokhorov 2 years ago
parent
commit
d9e87552ce
1 changed files with 4 additions and 0 deletions
  1. +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

Loading…
Cancel
Save