فهرست منبع

Ok, fixing delays.

When delaying on each card display, the weird 2 sec delay is
way too long!  It's gone...
Steve Thielemann 4 سال پیش
والد
کامیت
29eaba60b5
1فایلهای تغییر یافته به همراه4 افزوده شده و 2 حذف شده
  1. 4 2
      main.cpp

+ 4 - 2
main.cpp

@@ -572,8 +572,10 @@ int main(int argc, char *argv[]) {
     door << *c;
   }
 
-  std::this_thread::sleep_for(
-      std::chrono::seconds(2)); // 3 secs seemed too long!
+  /*
+    std::this_thread::sleep_for(
+        std::chrono::seconds(1)); // 3 secs seemed too long!
+  */
 
   for (int x = 18; x < 28; x++) {
     int cx, cy, level;