From 3b4dc0473c7dee4d95e04f20286b74b5ee6dfe75 Mon Sep 17 00:00:00 2001 From: Sassa NF Date: Fri, 20 Sep 2024 13:35:22 +0100 Subject: [PATCH] Report error code --- src/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 300cac3..47a844f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -838,9 +838,9 @@ void loop(void) int radio_error_count = 0; if (state != RADIOLIB_ERR_NONE) { - display.drawString(0, 64 - 10, "E:setFrequency:" + String(freq)); - // display.drawString(0, 64 - 10, "E:setFrequency:" + String(freq)); - Serial.println("E:setFrequency:" + String(freq)); + display.drawString( + 0, 64 - 10, "E(" + String(state) + "):setFrequency:" + String(freq)); + Serial.println("E(" + String(state) + "):setFrequency:" + String(freq)); display.display(); delay(2); radio_error_count++;