Skip to content

Commit

Permalink
Fix: syntax error fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonyang-ee committed Jul 12, 2023
1 parent 81acbe6 commit 22534db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Application/Src/RTC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "RTC.hpp"

#include "instances.hpp"
#include "Instances.hpp"

CustomRTC::CustomRTC() {}

Expand Down
5 changes: 2 additions & 3 deletions Application/Src/SerialCOM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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.
*
Expand Down

0 comments on commit 22534db

Please sign in to comment.