Added sleep in main loop
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user