From 22534db2b60548ea2a47d343658562f918f86af7 Mon Sep 17 00:00:00 2001 From: Jason Teng Date: Tue, 11 Jul 2023 23:38:30 -0700 Subject: [PATCH] Fix: syntax error fix --- Application/Src/RTC.cpp | 2 +- Application/Src/SerialCOM.cpp | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Application/Src/RTC.cpp b/Application/Src/RTC.cpp index 35d2eef..1f84956 100644 --- a/Application/Src/RTC.cpp +++ b/Application/Src/RTC.cpp @@ -3,7 +3,7 @@ #include "RTC.hpp" -#include "instances.hpp" +#include "Instances.hpp" CustomRTC::CustomRTC() {} diff --git a/Application/Src/SerialCOM.cpp b/Application/Src/SerialCOM.cpp index b47c88d..3c75a91 100644 --- a/Application/Src/SerialCOM.cpp +++ b/Application/Src/SerialCOM.cpp @@ -15,7 +15,7 @@ void SerialCOM::setPort(UART_HandleTypeDef *port) { m_port = port; } * @brief Append new line to buffer * */ -void SerialCOM::sendLn() { m_buffer_msg.append("\n"); }; +void SerialCOM::sendLn() { m_buffer_msg.append("\n"); } /** * @brief Append string to buffer. @@ -26,14 +26,13 @@ void SerialCOM::sendString(std::string msg) { m_buffer_msg.append(msg); } /** * @brief Append bool to buffer as text. - * + * * @param value bool value. */ void SerialCOM::sendNumber(bool value) { value ? m_buffer_msg.append("ON") : m_buffer_msg.append("OFF"); } - /** * @brief Periodically send uart in DMA mode if buffer !empty. *