all: Pass clang-tidy modernize-use-bool-literals check

Change-Id: Iddf04fac95d04a4816a0d1d022f04450679377af
No-Docs-Update-Reason: Format fixes
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/56925
Commit-Queue: Henri Chataing <henrichataing@google.com>
Reviewed-by: Wyatt Hepler <hepler@google.com>
diff --git a/pw_assert_basic/basic_handler.cc b/pw_assert_basic/basic_handler.cc
index be87baa..cbb0b07 100644
--- a/pw_assert_basic/basic_handler.cc
+++ b/pw_assert_basic/basic_handler.cc
@@ -153,7 +153,7 @@
       WriteLine("");
       WriteLine(
           "     ... until a debugger joins. System is waiting in a while(1)");
-      while (1) {
+      while (true) {
       }
     }
     PW_UNREACHABLE;