From 1466dabce82588a831ed6d78014d3b2e008c783c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dr=2E=20Julian-Steffen=20M=C3=BCller?= Date: Mon, 24 Aug 2020 15:36:37 +0200 Subject: [PATCH] Added sleep in main loop --- src/Version.h | 2 +- src/main.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Version.h b/src/Version.h index 6e5b083..691702d 100644 --- a/src/Version.h +++ b/src/Version.h @@ -3,6 +3,6 @@ #define MQTTEXPLORER_VERSION_MAJOR 1 #define MQTTEXPLORER_VERSION_MINOR 0 -#define MQTTEXPLORER_VERSION_PATCH 1 +#define MQTTEXPLORER_VERSION_PATCH 2 #endif // VERSION_H diff --git a/src/main.cpp b/src/main.cpp index d02aff3..75c1b65 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -31,6 +31,8 @@ int main(int argc, const char* argv[]) { }); while (true) { + using namespace std::chrono_literals; + std::this_thread::sleep_for(100ms); } return 0; }