diff --git a/Cards/EaserCAT-7000-DIO+I2C/Firmware/platformio.ini b/Cards/EaserCAT-7000-DIO+I2C/Firmware/platformio.ini index de3aac2..3901510 100755 --- a/Cards/EaserCAT-7000-DIO+I2C/Firmware/platformio.ini +++ b/Cards/EaserCAT-7000-DIO+I2C/Firmware/platformio.ini @@ -18,7 +18,7 @@ debug_build_flags = -O0 -g -ggdb monitor_port = COM21 monitor_filters = send_on_enter, time, colorize, log2file monitor_speed = 115200 -build_flags = -Wl,--no-warn-rwx-segment -DNOECAT +build_flags = -Wl,--no-warn-rwx-segment -DECAT lib_deps = SPI pilotak/MCP3X21@^1.0.1 diff --git a/Cards/EaserCAT-7000-DIO+I2C/Firmware/src/main.cpp b/Cards/EaserCAT-7000-DIO+I2C/Firmware/src/main.cpp index 33ad966..af67e0c 100755 --- a/Cards/EaserCAT-7000-DIO+I2C/Firmware/src/main.cpp +++ b/Cards/EaserCAT-7000-DIO+I2C/Firmware/src/main.cpp @@ -198,7 +198,7 @@ void setup(void) ecat_slv_init(&config); #endif -#if 1 // Uncomment for commissioning tests +#if 0 // Uncomment for commissioning tests // #define only one of the below #define ADS1xxx #undef ADC_MCP3221