aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-11-17 16:49:24 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-11-17 16:49:24 +0100
commit048682baaa215cb83326e191c86f84d15d4ffd15 (patch)
tree61217ab087eb52a53251d0114ec7699aead8fe18
parentffa89bd77c72b34e1ebec4809e80d157de437b07 (diff)
downloadglutte-batteries-048682baaa215cb83326e191c86f84d15d4ffd15.tar.gz
glutte-batteries-048682baaa215cb83326e191c86f84d15d4ffd15.tar.bz2
glutte-batteries-048682baaa215cb83326e191c86f84d15d4ffd15.zip
Change type of relay hold time variable
-rw-r--r--sw/relays.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/relays.cpp b/sw/relays.cpp
index d06395f..0f39fb9 100644
--- a/sw/relays.cpp
+++ b/sw/relays.cpp
@@ -35,7 +35,7 @@ struct pending_event_t {
bool pending;
};
-static constexpr int RELAY_SIGNAL_HOLD_TIME_US = 400000uL;
+static constexpr uint32_t RELAY_SIGNAL_HOLD_TIME_US = 400000uL;
static constexpr size_t PENDING_EVENTS_SIZE = 8;