1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2025-03-15 18:43:06 +01:00

Compare commits

..

2 Commits

Author SHA1 Message Date
Travis Farmer
97f9e0870f
Merge 3cb6a35dde into 14724aeb2a 2024-12-02 19:15:25 +00:00
travis-farmer
3cb6a35dde
IO_Modbus: removed board limits. too annoying. 2024-12-02 14:15:06 -05:00
2 changed files with 3 additions and 4 deletions

View File

@ -17,7 +17,7 @@
* You should have received a copy of the GNU General Public License
* along with CommandStation. If not, see <https://www.gnu.org/licenses/>.
*/
#if defined(MBEXPERIMENTAL) || defined(ARDUINO_ARCH_STM32)
#include "IO_Modbus.h"
#include "defines.h"
void ModbusADU::setTransactionId(uint16_t transactionId) {
@ -646,4 +646,3 @@ Modbusnode::Modbusnode(VPIN firstVpin, int nPins, uint8_t busNo, uint8_t nodeID,
}
}
#endif

View File

@ -51,7 +51,7 @@
#ifndef IO_MODBUS_H
#define IO_MODBUS_H
#if defined(MBEXPERIMENTAL) || defined(ARDUINO_ARCH_STM32)
#include "IODevice.h"
class ModbusADU {
public:
@ -408,5 +408,5 @@ public:
}
};
#endif
#endif // IO_MODBUS_H