diff --git a/lib/bin/gmeng.h b/lib/bin/gmeng.h index 36f78a7..9e379e6 100755 --- a/lib/bin/gmeng.h +++ b/lib/bin/gmeng.h @@ -30,6 +30,10 @@ #include #endif +#define sleep std::this_thread::sleep_for +#define ms std::chrono::milliseconds + + #define time_rn std::chrono::system_clock::now().time_since_epoch() #define GET_TIME() ( std::chrono::duration_cast(time_rn).count() ) diff --git a/lib/bin/utils/interface.cpp b/lib/bin/utils/interface.cpp index b585f41..9fa7d05 100755 --- a/lib/bin/utils/interface.cpp +++ b/lib/bin/utils/interface.cpp @@ -26,8 +26,6 @@ #include #include -#define sleep std::this_thread::sleep_for -#define ms std::chrono::milliseconds #ifndef BUTTON5_PRESSED #define BUTTON5_PRESSED true