From cb4c1a12ff27303d24adf066d8b4a3836144de73 Mon Sep 17 00:00:00 2001 From: Maxim Prokhorov Date: Sun, 6 Dec 2020 00:12:02 +0300 Subject: [PATCH] sns: log typo --- code/espurna/sensor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/espurna/sensor.cpp b/code/espurna/sensor.cpp index 13033b73..a8d73272 100644 --- a/code/espurna/sensor.cpp +++ b/code/espurna/sensor.cpp @@ -1444,7 +1444,7 @@ bool _sensorApiTryParseMagnitudeIndex(const char* p, unsigned char type, unsigne char* endp { nullptr }; const unsigned long result { strtoul(p, &endp, 10) }; if ((endp == p) || (*endp != '\0') || (result >= sensor_magnitude_t::counts(type))) { - DEBUG_MSG_P(PSTR("[RELAY] Invalid magnitude ID (%s)\n"), p); + DEBUG_MSG_P(PSTR("[SENSOR] Invalid magnitude ID (%s)\n"), p); return false; }