mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-10 08:33:39 +02:00
2017-05-06 Fred Gleason <fredg@paravelsystems.com>
* Removed debugging printfs.
This commit is contained in:
@@ -15758,3 +15758,5 @@
|
|||||||
* Added an 'RDMatrix::Modbus' element to the 'RDMatrix::Type enum.
|
* Added an 'RDMatrix::Modbus' element to the 'RDMatrix::Type enum.
|
||||||
* Implemented a Modbus TCP switcher driver in 'ripcd/modbus.cpp' and
|
* Implemented a Modbus TCP switcher driver in 'ripcd/modbus.cpp' and
|
||||||
'ripcd/modbus.h'.
|
'ripcd/modbus.h'.
|
||||||
|
2017-05-06 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Removed debugging printfs.
|
||||||
|
@@ -222,7 +222,6 @@ void Modbus::ProcessInputByte(char byte,int base)
|
|||||||
|
|
||||||
void Modbus::PollInputs()
|
void Modbus::PollInputs()
|
||||||
{
|
{
|
||||||
printf("HERE1\n");
|
|
||||||
char msg[12];
|
char msg[12];
|
||||||
msg[0]=0x88; // Transaction Identifier
|
msg[0]=0x88; // Transaction Identifier
|
||||||
msg[1]=0x88;
|
msg[1]=0x88;
|
||||||
@@ -246,5 +245,4 @@ void Modbus::PollInputs()
|
|||||||
modbus_socket->writeBlock(msg,12);
|
modbus_socket->writeBlock(msg,12);
|
||||||
modbus_watchdog_timer->stop();
|
modbus_watchdog_timer->stop();
|
||||||
modbus_watchdog_timer->start(MODBUS_WATCHDOG_INTERVAL,true);
|
modbus_watchdog_timer->start(MODBUS_WATCHDOG_INTERVAL,true);
|
||||||
printf("HERE2\n");
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user