summaryrefslogtreecommitdiff
path: root/implementation/configuration/include/debounce.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'implementation/configuration/include/debounce.hpp')
-rw-r--r--implementation/configuration/include/debounce.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/implementation/configuration/include/debounce.hpp b/implementation/configuration/include/debounce.hpp
index dc61514..30ad984 100644
--- a/implementation/configuration/include/debounce.hpp
+++ b/implementation/configuration/include/debounce.hpp
@@ -1,4 +1,4 @@
-// Copyright (C) 2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
+// Copyright (C) 2017-2021 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
@@ -21,7 +21,7 @@ namespace cfg {
struct debounce {
debounce() : on_change_(false),
on_change_resets_interval_(false),
- interval_(0),
+ interval_(-1), // aka "never"
last_forwarded_((std::chrono::steady_clock::time_point::max)()) {
}