From 20c62d1d4b05607778b711fba9975d59df0a14b1 Mon Sep 17 00:00:00 2001 From: Federico Mandelli <federico.mandelli@skywarder.eu> Date: Tue, 19 Jul 2022 12:39:22 +0200 Subject: [PATCH] [Can-protocol] Fixed typo in canprotocol and test --- libs/miosix-kernel | 2 +- src/shared/drivers/canbus/CanProtocol.h | 6 +++--- src/tests/drivers/canbus/test-can-protocol.cpp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/libs/miosix-kernel b/libs/miosix-kernel index 371a60a4e..80ae230d3 160000 --- a/libs/miosix-kernel +++ b/libs/miosix-kernel @@ -1 +1 @@ -Subproject commit 371a60a4efb43fd3fda42dd59765a34608fb56e7 +Subproject commit 80ae230d328892074ef362c46f8ed72ec07a3141 diff --git a/src/shared/drivers/canbus/CanProtocol.h b/src/shared/drivers/canbus/CanProtocol.h index c68c859dc..775e0ee56 100644 --- a/src/shared/drivers/canbus/CanProtocol.h +++ b/src/shared/drivers/canbus/CanProtocol.h @@ -69,7 +69,7 @@ enum IDMask : uint32_t }; /** - * @brief @brief Enumeration that contains masks of the elements composing the + * @brief Enumeration that contains masks of the elements composing the * sequential information. */ enum SequentialInformation : uint8_t @@ -116,10 +116,10 @@ struct CanData class CanProtocol : public ActiveObject { private: - // the physical implementation of the CanBus + // The physical implementation of the CanBus CanbusDriver* can; - // the buffer used to store the completed CanData + // The buffer used to store the completed CanData IRQCircularBuffer<CanData, N_BOARDS> buffer; miosix::FastMutex mutex; diff --git a/src/tests/drivers/canbus/test-can-protocol.cpp b/src/tests/drivers/canbus/test-can-protocol.cpp index dc39e1ba5..a1a6ed81b 100644 --- a/src/tests/drivers/canbus/test-can-protocol.cpp +++ b/src/tests/drivers/canbus/test-can-protocol.cpp @@ -152,6 +152,6 @@ int main() } if (error != 0) { - TRACE("Number of Error d\n", error); + TRACE("Number of Error %d\n", error); } } -- GitLab