Skip to content

Commit

Permalink
version 1.2.3, fix order of construction
Browse files Browse the repository at this point in the history
  • Loading branch information
Koryphon committed Apr 2, 2018
1 parent 3438986 commit 47988ca
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/LightDimmer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,16 @@
LightDimmer *LightDimmer::sLightList = NULL;

LightDimmer::LightDimmer()
: mPin(255),
mOff(0),
mBlink(false),
mState(LD_OFF),
: mState(LD_OFF),
mRiseTime(250),
mFallTime(250),
mOnTime(200),
mPeriod(900),
mNextEventDate(0)
mNextEventDate((uint32_t)0u),
mValue((uint8_t)0u),
mPin(255),
mBlink(false),
mOff((uint8_t)0u)
{
mNext = sLightList;
sLightList = this;
Expand Down

0 comments on commit 47988ca

Please sign in to comment.