From e39551966b333037e79e478cd30a32e4f66329bb Mon Sep 17 00:00:00 2001 From: dominic Date: Thu, 16 May 2024 14:23:18 +0200 Subject: [PATCH] submodule update --- kvasir | 2 +- src/main.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/kvasir b/kvasir index 2061f9b..a3910f2 160000 --- a/kvasir +++ b/kvasir @@ -1 +1 @@ -Subproject commit 2061f9b72124a46d23192f53d7bd5c16cdb5510a +Subproject commit a3910f2cfd634fee7033b057c7016aac839f6181 diff --git a/src/main.cpp b/src/main.cpp index 800b84c..6e2cd01 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -10,7 +10,7 @@ static void print(Buffer& buffer, std::string_view s) { std::transform(s.begin(), s.end(), buffer.begin(), [](auto x) { return static_cast(x); }); - UC_LOG_D("{}",s); + UC_LOG_D("{}", s.substr(0, s.size() - 1)); Uart::send_nocopy(buffer); } @@ -29,7 +29,6 @@ int main() { } else { print(buffer, "LED on\n"); apply(set(HW::Pin::led{})); - } on = !on; }