diff --git a/src/PowersSY6970.tpp b/src/PowersSY6970.tpp index 7e250fb..6abf66e 100644 --- a/src/PowersSY6970.tpp +++ b/src/PowersSY6970.tpp @@ -38,7 +38,7 @@ class PowersSY6970 : - public XPowersCommon + public XPowersCommon { friend class XPowersCommon; @@ -513,6 +513,11 @@ public: return "Unknown"; } + bool enableADCMeasure() __attribute__((deprecated("The enableADCMeasure method will be replaced by enableMeasure in the future. Please update it to enableMeasure."))) + { + return enableMeasure(); + } + bool enableMeasure(MeasureMode mode = CONTINUOUS) { int val = readRegister(POWERS_PPM_REG_02H);