Skip to content

Commit

Permalink
Fix calibration on start when level == 100
Browse files Browse the repository at this point in the history
Fix #17
  • Loading branch information
marvinroger authored Jul 13, 2018
1 parent 80ed27e commit d2f4a42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Shutters/StoredState.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include "Arduino.h"

namespace ShuttersInternal {
const uint8_t LEVEL_OFFSET = 28;
const uint8_t LEVEL_OFFSET = 27;
const uint8_t LEVEL_NONE = 255; // level must be between 0 and 100, so np
const uint8_t STATE_LENGTH = 20; // max representation of uint64

Expand Down

0 comments on commit d2f4a42

Please sign in to comment.