From 4ff24e5c1db0da432192be9a0952e22e85e09e51 Mon Sep 17 00:00:00 2001 From: Joe Inman <114337272+joeinman@users.noreply.github.com> Date: Tue, 8 Oct 2024 01:29:34 +0100 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e379e83..24bdbf5 100644 --- a/README.md +++ b/README.md @@ -22,8 +22,8 @@ using namespace EmbedLog; int main() { EmbedLog::EmbedLog logge( - []() { stdio_init_all(); }, - []() { stdio_deinit_all(); }, + []() { return stdio_init_all(); }, + []() { return stdio_deinit_all(); }, [](const std::string& message) { printf("%s", message.c_str()); }, []() { return to_us_since_boot(get_absolute_time()); } );