diff --git a/include/Config.hpp b/include/Config.hpp index f8bbad4..43442b0 100644 --- a/include/Config.hpp +++ b/include/Config.hpp @@ -13,4 +13,6 @@ #define POINTS_1_LINE 40 #define POINTS_2_LINES 100 #define POINTS_3_LINES 300 -#define POINTS_4_LINES 1200 \ No newline at end of file +#define POINTS_4_LINES 1200 + +#define MOVE_FRAME_INTERVAL 125 \ No newline at end of file diff --git a/src/Main.cpp b/src/Main.cpp index 88f6cc7..670bb93 100644 --- a/src/Main.cpp +++ b/src/Main.cpp @@ -192,7 +192,7 @@ int main() update_clock.restart(); } - bool is_move_frame = move_clock.getElapsedTime().asMilliseconds() > 125; + bool is_move_frame = move_clock.getElapsedTime().asMilliseconds() > MOVE_FRAME_INTERVAL; if (is_move_frame) { move_clock.restart(); }