diff options
Diffstat (limited to 'pw_system/example_user_app_init.cc')
-rw-r--r-- | pw_system/example_user_app_init.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pw_system/example_user_app_init.cc b/pw_system/example_user_app_init.cc index 025dc7b8f..e8951d91a 100644 --- a/pw_system/example_user_app_init.cc +++ b/pw_system/example_user_app_init.cc @@ -15,7 +15,7 @@ #include "pw_log/log.h" #include "pw_system/rpc_server.h" -#include "pw_thread/sleep.h" +#include "pw_trace/trace.h" #include "pw_unit_test/unit_test_service.h" namespace pw::system { @@ -25,6 +25,8 @@ pw::unit_test::UnitTestService unit_test_service; // This will run once after pw::system::Init() completes. This callback must // return or it will block the work queue. void UserAppInit() { + PW_TRACE_FUNCTION(); + PW_LOG_INFO("Pigweed is fun!"); GetRpcServer().RegisterService(unit_test_service); } |