Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/driver/ifd_towitoko.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
*/

#define IFD_TOWITOKO_TIMEOUT 1000
#define IFD_TOWITOKO_DELAY 0
#define IFD_TOWITOKO_DELAY 1
#define IFD_TOWITOKO_BAUDRATE 9600
#define IFD_TOWITOKO_PS 15
#define IFD_TOWITOKO_MAX_TRANSMIT 255
Expand Down
5 changes: 5 additions & 0 deletions src/driver/io_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,12 @@ IO_Serial_Write (IO_Serial * io, unsigned delay, unsigned size, BYTE * data)

for (count = 0; count < size; count += to_send)
{

#ifdef DEBUG_SEND_ONE
to_send = (delay? 1: size);
#else
to_send = size;
#endif

if (IO_Serial_WaitToWrite (io->fd, delay, 1000))
{
Expand Down