Index: csctapi/pps.c
===================================================================
--- csctapi/pps.c (revision 760)
+++ csctapi/pps.c (working copy)
@@ -286,6 +286,10 @@
int i;
#endif
+ //always return error
+ return PPS_ICC_ERROR;
+
+
len_request = PPS_GetLength (params);
params[len_request - 1] = PPS_GetPCK(params, len_request - 1);
Index: csctapi/protocol_t1.c
===================================================================
--- csctapi/protocol_t1.c (revision 760)
+++ csctapi/protocol_t1.c (working copy)
@@ -34,7 +34,7 @@
*/
#define PROTOCOL_T1_DEFAULT_IFSC 32
#define PROTOCOL_T1_DEFAULT_IFSD 32
-#define PROTOCOL_T1_MAX_IFSC 251 /* Cannot send > 255 buffer */
+#define PROTOCOL_T1_MAX_IFSC 61 /* Cannot send > 255 buffer */
#define PROTOCOL_T1_DEFAULT_CWI 13
#define PROTOCOL_T1_DEFAULT_BWI 4
#define PROTOCOL_T1_EDC_LRC 0
Index: csctapi/io_serial.c
===================================================================
--- csctapi/io_serial.c (revision 760)
+++ csctapi/io_serial.c (working copy)
@@ -531,15 +531,6 @@
}
#ifdef OS_LINUX
- if (io->mhz == io->cardmhz)
-#endif
- { //no overclocking
- cfsetospeed(&newtio, IO_Serial_Bitrate(io->output_bitrate));
- cfsetispeed(&newtio, IO_Serial_Bitrate(io->input_bitrate));
- cs_debug("standard baudrate: cardmhz=%d mhz=%d -> effective baudrate %lu", io->cardmhz, io->mhz, io->output_bitrate);
- }
-#ifdef OS_LINUX
- else { //over or underclocking
/* these structures are only available on linux as fas as we know so limit this code to OS_LINUX */
struct serial_struct nuts;
ioctl(io->fd, TIOCGSERIAL, &nuts);
@@ -552,7 +543,7 @@
ioctl(io->fd, TIOCSSERIAL, &nuts);
cfsetospeed(&newtio, IO_Serial_Bitrate(38400));
cfsetispeed(&newtio, IO_Serial_Bitrate(38400));
- }
+
#endif
/* Set the character size */