From 0c8761ed990db59c487004689ca10bf3b9d78c44 Mon Sep 17 00:00:00 2001 From: Liam Teale Date: Sun, 29 Dec 2024 17:33:30 -0800 Subject: [PATCH] fix badly formatted code --- src/lemlog/logger/sinks/sd-card.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/lemlog/logger/sinks/sd-card.cpp b/src/lemlog/logger/sinks/sd-card.cpp index 782182a..7ae5cd5 100644 --- a/src/lemlog/logger/sinks/sd-card.cpp +++ b/src/lemlog/logger/sinks/sd-card.cpp @@ -3,7 +3,9 @@ #include namespace logger { -SDCard::SDCard(std::string filename, bool logTimestamp) : filename("/usd/" + filename), logTimestamp(logTimestamp) {} +SDCard::SDCard(std::string filename, bool logTimestamp) + : filename("/usd/" + filename), + logTimestamp(logTimestamp) {} std::string SDCard::formatTimestamp(long long ms) { // use the % operator to get the remainder of the division @@ -25,7 +27,8 @@ void SDCard::send(Level level, std::string topic, std::string message) { // output: