Skip to content

Commit

Permalink
submodule update
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicpoeschko committed May 16, 2024
1 parent f881ca6 commit e395519
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kvasir
3 changes: 1 addition & 2 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<std::byte>(x);
});
UC_LOG_D("{}",s);
UC_LOG_D("{}", s.substr(0, s.size() - 1));
Uart::send_nocopy(buffer);
}

Expand All @@ -29,7 +29,6 @@ int main() {
} else {
print(buffer, "LED on\n");
apply(set(HW::Pin::led{}));

}
on = !on;
}
Expand Down

0 comments on commit e395519

Please sign in to comment.