Corrected the order of serial setup and serial print

This commit is contained in:
Th3maz1ng 2022-08-16 21:30:23 +02:00
parent 1d0a1577f9
commit fce92285e3
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);