From ec68247ce9bf35e65eee7d2863f2cf161ef8f92a Mon Sep 17 00:00:00 2001 From: Terry Moore Date: Sun, 12 Jun 2022 16:43:42 -0400 Subject: [PATCH] Fix #332: reorder member initializers cPowerControlGPIO --- src/CatenaBase.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CatenaBase.h b/src/CatenaBase.h index 6ab8b94..ce249f5 100644 --- a/src/CatenaBase.h +++ b/src/CatenaBase.h @@ -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) {}