From 199ac07d4f8bcbb381576abf9ffb7430699aea94 Mon Sep 17 00:00:00 2001 From: VladislavOstapov Date: Wed, 14 Dec 2022 17:51:03 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B5=D1=80=D0=B5=D0=BC=D0=B5=D0=BD?= =?UTF-8?q?=D0=BD=D0=B0=D1=8F=20hla=5FrobotX=5Fen=20=D0=B2=D1=8B=D0=BD?= =?UTF-8?q?=D0=B5=D1=81=D0=B5=D0=BD=D0=B0=20=D0=B2=20=D1=8D=D0=BD=D0=B5?= =?UTF-8?q?=D1=80=D0=B3=D0=BE=D0=BD=D0=B5=D0=B7=D0=B0=D0=B2=D0=B8=D1=81?= =?UTF-8?q?=D1=81=D0=B8=D0=BC=D1=83=D1=8E=20=D0=BF=D0=B0=D0=BC=D1=8F=D1=82?= =?UTF-8?q?=D1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- emulator.h | 2 -- utils.h | 6 ++++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/emulator.h b/emulator.h index a6a0897..521dcf4 100644 --- a/emulator.h +++ b/emulator.h @@ -49,8 +49,6 @@ extern char button_unload_remove; extern short robot1_lock_zone; extern short robot2_lock_zone; -extern char hla_robot1_en; -extern char hla_robot2_en; extern char _scheduler_en; diff --git a/utils.h b/utils.h index 3c3fd85..2be5e39 100644 --- a/utils.h +++ b/utils.h @@ -181,6 +181,9 @@ extern short hla_time_digging; extern short hla_time_reagent; extern short hla_time_washing_1; extern short hla_time_washing_2; + +extern char hla_robot1_en; +extern char hla_robot2_en; #else #define barrels ((struct barrel*)barrels_array) #define robot1 (*((struct robot_regs*)&robot1_reg_mx)) @@ -207,6 +210,9 @@ extern short hla_time_washing_2; #define hla_time_reagent _c_hla_time_reagent #define hla_time_washing_1 _c_hla_time_washing_1 #define hla_time_washing_2 _c_hla_time_washing_2 + +#define hla_robot1_en _c_hla_robot1_en +#define hla_robot2_en _c_hla_robot2_en #endif