From 94acda372aa19c0e8442d47e75f30fa38c0acabe Mon Sep 17 00:00:00 2001 From: "DESKTOP-QQQPA9A\\norip" Date: Wed, 3 Apr 2024 21:21:39 +0900 Subject: [PATCH 1/2] =?UTF-8?q?7=E8=A1=8C=E7=9B=AE=E3=81=AEwhile=E6=96=87?= =?UTF-8?q?=E3=81=AE=EF=BC=91=E3=82=92true=E3=81=AB=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 31c8d4c..0d1fbbd 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -4,8 +4,8 @@ int main() { omniboat::Schneider schneider; schneider.init(); schneider.debug(); - while (1) { - schneider.led(1); + while (true) { + schneider.led(true); schneider.one_step(); // wait(1); } From c6851bb775d768a09441221e6d02b81744d4c9a5 Mon Sep 17 00:00:00 2001 From: "DESKTOP-QQQPA9A\\norip" Date: Fri, 5 Apr 2024 23:32:48 +0900 Subject: [PATCH 2/2] =?UTF-8?q?main.cpp=E3=81=AE8=E8=A1=8C=E7=9B=AE?= =?UTF-8?q?=E5=A4=89=E6=9B=B4=E3=81=97=E3=81=BE=E3=81=97=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 0d1fbbd..b0b6b8e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -5,7 +5,7 @@ int main() { schneider.init(); schneider.debug(); while (true) { - schneider.led(true); + schneider.led(1); schneider.one_step(); // wait(1); }