From fce92285e390e5ea4b010418cae63dea1b029334 Mon Sep 17 00:00:00 2001 From: Th3maz1ng Date: Tue, 16 Aug 2022 21:30:23 +0200 Subject: [PATCH] Corrected the order of serial setup and serial print --- src/app/app.ino | 2 +- src/tests/tests.ino | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/app.ino b/src/app/app.ino index ad9abde..e3e2aa4 100644 --- a/src/app/app.ino +++ b/src/app/app.ino @@ -50,9 +50,9 @@ IRAM_ATTR void NRFIRQsHandler(void *p) void setup() { //We do not need to read on the serial bus + Serial.begin(115200, SERIAL_8N1, SERIAL_TX_ONLY); delay(1000); Serial.println("\nSetup begin"); - Serial.begin(115200, SERIAL_8N1, SERIAL_TX_ONLY); //We set the RXD0 as a GPIO pinMode(D9, FUNCTION_3); pinMode(D9, INPUT_PULLUP); diff --git a/src/tests/tests.ino b/src/tests/tests.ino index 28fbba4..83c77c2 100644 --- a/src/tests/tests.ino +++ b/src/tests/tests.ino @@ -45,9 +45,9 @@ IRAM_ATTR void NRFIRQsHandler(void *p) void setup() { //We do not need to read on the serial bus + Serial.begin(115200, SERIAL_8N1, SERIAL_TX_ONLY); delay(1000); Serial.println("\nSetup begin"); - Serial.begin(115200, SERIAL_8N1, SERIAL_TX_ONLY); //We set the RXD0 as a GPIO pinMode(D9, FUNCTION_3); pinMode(D9, INPUT_PULLUP);