From 5e6e6017b3b8c3556c94c4121ffb8992d135a251 Mon Sep 17 00:00:00 2001 From: Gerhard Hoffmann Date: Thu, 13 Apr 2023 16:22:01 +0200 Subject: [PATCH] Minor change --- src/sendWRcmd.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/sendWRcmd.cpp b/src/sendWRcmd.cpp index ce1ec00..1106652 100644 --- a/src/sendWRcmd.cpp +++ b/src/sendWRcmd.cpp @@ -602,7 +602,7 @@ bool longFDcmd_set(uint8_t nextWrCmd, uint8_t nextRdCmd, uint8_t blockNum, uint8 uint8_t nn; if (p_longFDcmdsInQueue>=FDLONG_STACKDEPTH) { - qDebug() << "cannot save cmd because stack is full"; + qCritical() << "cannot save cmd because stack is full"; return false; // not possible } longFDwrCmd[p_longFDcmdsInQueue]=nextWrCmd; @@ -613,6 +613,7 @@ bool longFDcmd_set(uint8_t nextWrCmd, uint8_t nextRdCmd, uint8_t blockNum, uint8 longFDpara[p_longFDcmdsInQueue][nn]=data[nn]; p_longFDcmdsInQueue++; + return true; // ok, will be sent }