mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2025-03-16 19:03:07 +01:00
Compare commits
1 Commits
97f9e0870f
...
3496a4747b
Author | SHA1 | Date | |
---|---|---|---|
|
3496a4747b |
@ -17,7 +17,7 @@
|
|||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with CommandStation. If not, see <https://www.gnu.org/licenses/>.
|
* along with CommandStation. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
#if defined(MBEXPERIMENTAL) || defined(ARDUINO_ARCH_STM32)
|
||||||
#include "IO_Modbus.h"
|
#include "IO_Modbus.h"
|
||||||
#include "defines.h"
|
#include "defines.h"
|
||||||
void ModbusADU::setTransactionId(uint16_t transactionId) {
|
void ModbusADU::setTransactionId(uint16_t transactionId) {
|
||||||
@ -646,3 +646,4 @@ Modbusnode::Modbusnode(VPIN firstVpin, int nPins, uint8_t busNo, uint8_t nodeID,
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
#endif
|
@ -51,7 +51,7 @@
|
|||||||
|
|
||||||
#ifndef IO_MODBUS_H
|
#ifndef IO_MODBUS_H
|
||||||
#define IO_MODBUS_H
|
#define IO_MODBUS_H
|
||||||
|
#if defined(MBEXPERIMENTAL) || defined(ARDUINO_ARCH_STM32)
|
||||||
#include "IODevice.h"
|
#include "IODevice.h"
|
||||||
class ModbusADU {
|
class ModbusADU {
|
||||||
public:
|
public:
|
||||||
@ -408,5 +408,5 @@ public:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif
|
||||||
#endif // IO_MODBUS_H
|
#endif // IO_MODBUS_H
|
||||||
|
Loading…
Reference in New Issue
Block a user