Skip to content

Commit

Permalink
Fix #332: reorder member initializers cPowerControlGPIO
Browse files Browse the repository at this point in the history
  • Loading branch information
terrillmoore committed Jun 12, 2022
1 parent 18ce80c commit ec68247
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CatenaBase.h
Original file line number Diff line number Diff line change
Expand Up @@ -376,8 +376,8 @@ class cPowerControlGPIO : public cPowerControl
/// \param [in] delayMs the delay to request, in milliseconds, after any change.
///
cPowerControlGPIO(uint8_t pin, uint16_t delayMs)
: m_delayOff(delayMs)
, m_delayOn(delayMs)
: m_delayOn(delayMs)
, m_delayOff(delayMs)
, m_pin(pin)
{}

Expand Down

0 comments on commit ec68247

Please sign in to comment.