Skip to content

Commit

Permalink
Safety delay to be set during buid
Browse files Browse the repository at this point in the history
  • Loading branch information
klaudiusz223 committed Feb 10, 2019
1 parent 96a9202 commit 77c6865
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Shutters.h
Expand Up @@ -7,6 +7,10 @@

#include "Shutters/StoredState.hpp"

#ifndef _SAFETY_DELAY_
#define _SAFETY_DELAY_ 1 * 1000
#endif

// #define DEBUG
#ifdef DEBUG
#define DPRINT(...) Serial.print(__VA_ARGS__)
Expand All @@ -19,7 +23,7 @@
class Shutters;

namespace ShuttersInternal {
const uint16_t SAFETY_DELAY = 1 * 1000;
const uint16_t SAFETY_DELAY = _SAFETY_DELAY_;
// const uint16_t LEVELS = 1000;

enum State : uint8_t {
Expand Down

0 comments on commit 77c6865

Please sign in to comment.