|
|
@@ -112,18 +112,18 @@
|
|
|
//#define Active_ControllerID _ControllerID
|
|
|
//#define Active_ControllerID _Slave1_ID
|
|
|
|
|
|
-#include "config_Active_ControllerID.h" //there kleep id of device
|
|
|
+#include "___CONFIG/config_Active_ControllerID.h" //there kleep id of device
|
|
|
|
|
|
//#include "config_Slave_Ports_LOCAL_0x101_init.h" //there kleep config of this id device
|
|
|
|
|
|
|
|
|
#if Active_ControllerID == 0x101
|
|
|
- #include "config_Active_ControllerID_0x101.h"
|
|
|
+ #include "___CONFIG/0x101/config_Active_ControllerID_0x101.h"
|
|
|
#endif
|
|
|
|
|
|
|
|
|
#if Active_ControllerID == 0x103
|
|
|
- #include "config_Active_ControllerID_0x103.h" //there kleep config of this id device
|
|
|
+ #include "___CONFIG/0x103/config_Active_ControllerID_0x103.h" //there kleep config of this id device
|
|
|
#endif
|
|
|
|
|
|
|
|
|
@@ -290,16 +290,16 @@
|
|
|
#include "_PCINT_init.h"
|
|
|
#endif
|
|
|
|
|
|
-#include "config_Slave_Ports_LOCAL_init.h"
|
|
|
+#include "___CONFIG/config_Slave_Ports_LOCAL_init.h"
|
|
|
|
|
|
|
|
|
#if Active_ControllerID == 0x101
|
|
|
- #include "config_Slave_Ports_LOCAL_0x101_init.h"
|
|
|
+ #include "___CONFIG/0x101/config_Slave_Ports_LOCAL_0x101_init.h"
|
|
|
#endif
|
|
|
|
|
|
|
|
|
#if Active_ControllerID == 0x103
|
|
|
- #include "config_Slave_Ports_LOCAL_0x103_init.h"
|
|
|
+ #include "___CONFIG/0x103/config_Slave_Ports_LOCAL_0x103_init.h"
|
|
|
#endif
|
|
|
|
|
|
|
|
|
@@ -313,7 +313,7 @@
|
|
|
#include "__main_init.h"
|
|
|
|
|
|
#ifdef DISABLE_LOOP
|
|
|
- #include "___DEBUG_DISABLE_INIT.h"
|
|
|
+ #include "___DEBUG/___DEBUG_DISABLE_INIT.h"
|
|
|
#endif
|
|
|
|
|
|
|
|
|
@@ -389,7 +389,7 @@ void setup() {
|
|
|
#endif
|
|
|
|
|
|
#ifdef DISABLE_LOOP
|
|
|
- #include "___DEBUG_DISABLE_SETUP.h"
|
|
|
+ #include "___DEBUG/___DEBUG_DISABLE_SETUP.h"
|
|
|
#endif
|
|
|
|
|
|
|
|
|
@@ -409,6 +409,7 @@ void setup() {
|
|
|
|
|
|
|
|
|
void loop() {
|
|
|
+#include "___loop/___loop_init.h"
|
|
|
|
|
|
#if defined(HAS__PCINT_setup)
|
|
|
#include "_PCINT_loop.h"
|
|
|
@@ -424,7 +425,7 @@ void loop() {
|
|
|
time = millis();
|
|
|
|
|
|
#ifdef DISABLE_LOOP
|
|
|
- #include "___DEBUG_DISABLE_LOOP.h"
|
|
|
+ #include "___DEBUG/___DEBUG_DISABLE_LOOP.h"
|
|
|
#endif
|
|
|
#include "__main_loop_top.h"
|
|
|
|
|
|
@@ -459,6 +460,8 @@ void loop() {
|
|
|
TASK_TYPE_T__EMPTY__JUST_PASSED_ARG__,
|
|
|
TASK_PORT_ASSOC_EMPTY
|
|
|
);
|
|
|
+ #else
|
|
|
+ #include "___DEBUG/___DEBUG_DISABLE_LOOP_MAIN_A.h"
|
|
|
#endif
|
|
|
}
|
|
|
// Serial.println(time);
|