From 73c59c732ab51123c68cff5fee170066e2b6acfc Mon Sep 17 00:00:00 2001 From: damage Date: Sun, 25 May 2025 12:24:26 +0200 Subject: [PATCH] moved global.h to new controller implementation --- controller/global.h | 11 ++++++++++- master/global.h | 11 +---------- rotator/global.h | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) mode change 120000 => 100644 controller/global.h mode change 100644 => 120000 master/global.h diff --git a/controller/global.h b/controller/global.h deleted file mode 120000 index 4adadf7..0000000 --- a/controller/global.h +++ /dev/null @@ -1 +0,0 @@ -../master/global.h \ No newline at end of file diff --git a/controller/global.h b/controller/global.h new file mode 100644 index 0000000..536b060 --- /dev/null +++ b/controller/global.h @@ -0,0 +1,10 @@ +#define DATA_STOP_BYTE 0x00 +#define DATA_INIT_BYTE_1 0x01 +#define DATA_INIT_BYTE_2 0x02 +#define DATA_BYTE 0x03 +#define DATA_RESET_BYTE 0xFF +#define TRIGGER_BIT_1 1 +#define HIGH_BIT_1 2 +#define TRIGGER_BIT_2 4 +#define HIGH_BIT_2 8 +#define I2C_ADDRESS_START 0x08 diff --git a/master/global.h b/master/global.h deleted file mode 100644 index 536b060..0000000 --- a/master/global.h +++ /dev/null @@ -1,10 +0,0 @@ -#define DATA_STOP_BYTE 0x00 -#define DATA_INIT_BYTE_1 0x01 -#define DATA_INIT_BYTE_2 0x02 -#define DATA_BYTE 0x03 -#define DATA_RESET_BYTE 0xFF -#define TRIGGER_BIT_1 1 -#define HIGH_BIT_1 2 -#define TRIGGER_BIT_2 4 -#define HIGH_BIT_2 8 -#define I2C_ADDRESS_START 0x08 diff --git a/master/global.h b/master/global.h new file mode 120000 index 0000000..d450d7f --- /dev/null +++ b/master/global.h @@ -0,0 +1 @@ +../controller/global.h \ No newline at end of file diff --git a/rotator/global.h b/rotator/global.h index 4adadf7..d450d7f 120000 --- a/rotator/global.h +++ b/rotator/global.h @@ -1 +1 @@ -../master/global.h \ No newline at end of file +../controller/global.h \ No newline at end of file