From c1784995a896b62983d1bcf547607654798a0f56 Mon Sep 17 00:00:00 2001 From: Lorenzo Cucchi <lorenzo.cucchi@skywarder.eu> Date: Wed, 28 Jun 2023 01:27:34 +0200 Subject: [PATCH] [VN300] Modified return type of checkError --- src/shared/sensors/VN300/VN300.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shared/sensors/VN300/VN300.h b/src/shared/sensors/VN300/VN300.h index 7b40eb0b4..0a2bc9118 100644 --- a/src/shared/sensors/VN300/VN300.h +++ b/src/shared/sensors/VN300/VN300.h @@ -254,9 +254,9 @@ private: * * @param message to be checked. * - * @return True if error are present. + * @return error code. */ - bool checkErrorVN(const char *message); + uint8_t checkErrorVN(const char *message); /** * @brief Method to verify the crc validity of a command. -- GitLab