Added sleep in main loop

This commit is contained in:
2020-08-24 15:36:37 +02:00
parent 7618feb0ff
commit 1466dabce8
2 changed files with 3 additions and 1 deletions

View File

@@ -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

View File

@@ -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;
}