From 4b8ce579d38550aa0ff1aebe94d65575e695b761 Mon Sep 17 00:00:00 2001 From: Stefan Jahn Date: Wed, 15 Feb 2023 23:01:21 +0100 Subject: [PATCH] Disabling tty logging in windows part --- posctl.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/posctl.cc b/posctl.cc index da8756a..af0a733 100644 --- a/posctl.cc +++ b/posctl.cc @@ -906,7 +906,7 @@ int PosCtl::OutputOpen() { }; int PosCtl::WriteTTY (char * outbuf) { - printf ("%s:%d %s send: '%s'\n", __FILE__, __LINE__, __FUNCTION__, outbuf); + //printf ("%s:%d %s send: '%s'\n", __FILE__, __LINE__, __FUNCTION__, outbuf); #ifdef BUILD_WINDOWS DWORD len; @@ -949,7 +949,7 @@ int PosCtl::ReadTTY (char * inbuf, int length) { } else { inbuf[len] = 0; - printf ("%s:%d %s receive: '%s'\n", __FILE__, __LINE__, __FUNCTION__, inbuf); + //printf ("%s:%d %s receive: '%s'\n", __FILE__, __LINE__, __FUNCTION__, inbuf); } #else ssize_t len;