Skip to content

Commit

Permalink
Fix #332: fix member initializer order, cTotalizer()
Browse files Browse the repository at this point in the history
  • Loading branch information
terrillmoore committed Jun 12, 2022
1 parent cdf537e commit 3360dd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Catena_Totalizer.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3360dd6

Please sign in to comment.