From 452d99a29aa8e96f5b0b3b6ef5f475f597597e4d Mon Sep 17 00:00:00 2001 From: Mark Fisher Date: Fri, 20 Sep 2024 11:38:26 +0100 Subject: [PATCH] Remove clock debug --- lib/clock/Clock.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/clock/Clock.cpp b/lib/clock/Clock.cpp index a5d7e6047..41ad960b2 100644 --- a/lib/clock/Clock.cpp +++ b/lib/clock/Clock.cpp @@ -30,7 +30,7 @@ std::string Clock::get_current_time_iso(const std::string& posixTimeZone) { std::tm* localTime = std::localtime(&now); std::string isoString = format_iso8601(*localTime); - Debug_printf("isoStringTZ time: %s, %s\r\n", isoString.c_str(), posixTimeZone.c_str()); + // Debug_printf("isoStringTZ time: %s, %s\r\n", isoString.c_str(), posixTimeZone.c_str()); return isoString; } @@ -50,8 +50,8 @@ std::vector Clock::get_current_time_simple(const std::string& posixTime simpleTime[5] = static_cast(localTime->tm_min); simpleTime[6] = static_cast(localTime->tm_sec); - std::string dstring = util_hexdump(simpleTime.data(), 7); - Debug_printf("simple time: %s, %s\r\n", dstring.c_str(), posixTimeZone.c_str()); + // std::string dstring = util_hexdump(simpleTime.data(), 7); + // Debug_printf("simple time: %s, %s\r\n", dstring.c_str(), posixTimeZone.c_str()); return simpleTime; } @@ -78,8 +78,8 @@ std::vector Clock::get_current_time_prodos(const std::string& posixTime prodosTime[2] = static_cast(localTime->tm_min); prodosTime[3] = static_cast(localTime->tm_hour); - std::string dstring = util_hexdump(prodosTime.data(), 4); - Debug_printf("prodos time: %s, %s\r\n", dstring.c_str(), posixTimeZone.c_str()); + // std::string dstring = util_hexdump(prodosTime.data(), 4); + // Debug_printf("prodos time: %s, %s\r\n", dstring.c_str(), posixTimeZone.c_str()); return prodosTime; } @@ -98,8 +98,8 @@ std::vector Clock::get_current_time_apetime(const std::string& posixTim apeTime[4] = static_cast(localTime->tm_min); apeTime[5] = static_cast(localTime->tm_sec); - std::string dstring = util_hexdump(apeTime.data(), 6); - Debug_printf("apetime: %s, %s\r\n", dstring.c_str(), posixTimeZone.c_str()); + // std::string dstring = util_hexdump(apeTime.data(), 6); + // Debug_printf("apetime: %s, %s\r\n", dstring.c_str(), posixTimeZone.c_str()); return apeTime; } \ No newline at end of file