diff --git a/src/Catena_Totalizer.h b/src/Catena_Totalizer.h index ef7e43d..767df28 100644 --- a/src/Catena_Totalizer.h +++ b/src/Catena_Totalizer.h @@ -55,8 +55,8 @@ class cTotalizer : public cPollableObject static constexpr uint16_t kDefault_msDebounce = 50; cTotalizer(uint8_t pin = kPinUndefined) - : m_pin(pin) - , m_msDebounce(kDefault_msDebounce) + : m_msDebounce(kDefault_msDebounce) + , m_pin(pin) {}; // setup, passing in a pin