diff options
Diffstat (limited to 'pw_system/stl_target_hooks.cc')
-rw-r--r-- | pw_system/stl_target_hooks.cc | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/pw_system/stl_target_hooks.cc b/pw_system/stl_target_hooks.cc index f9d7fef78..048153d4c 100644 --- a/pw_system/stl_target_hooks.cc +++ b/pw_system/stl_target_hooks.cc @@ -12,11 +12,6 @@ // License for the specific language governing permissions and limitations under // the License. -#define PW_LOG_MODULE_NAME "SYS" - -#include "pw_log/log.h" -#include "pw_system/init.h" -#include "pw_thread/sleep.h" #include "pw_thread/thread.h" #include "pw_thread_stl/options.h" @@ -38,16 +33,3 @@ const thread::Options& WorkQueueThreadOptions() { } } // namespace pw::system - -extern "C" int main() { - pw::system::Init(); - // Sleep loop rather than return on this thread so the process isn't closed. - while (true) { - pw::this_thread::sleep_for(std::chrono::seconds(10)); - // It's hard to tell that simulator is alive and working since nothing is - // logging after initial "boot," so for now log a line occasionally so - // users can see that the simulator is alive and well. - PW_LOG_INFO("Simulated device is still alive"); - // TODO(amontanez): This thread should probably have a way to exit. - } -} |