From 46d49e51b17f0e408ff4bce0c7cf57fa8b723f1b Mon Sep 17 00:00:00 2001
From: athatheocsd <athatheo@csd.auth.gr>
Date: Thu, 29 Nov 2018 17:31:30 +0200
Subject: [PATCH] Reformatted code

---
 inc/Services/EventReportService.hpp | 7 +++++--
 src/Services/EventReportService.cpp | 8 ++++----
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/inc/Services/EventReportService.hpp b/inc/Services/EventReportService.hpp
index 772c6e31..828aa26d 100644
--- a/inc/Services/EventReportService.hpp
+++ b/inc/Services/EventReportService.hpp
@@ -8,11 +8,13 @@
  */
 #define CSS_EVENTS_MAX_COUNT 16
 #define ECSS_EVENTS_BITS 16
-class EventReportService: public Service {
+
+class EventReportService : public Service {
 public:
-	EventReportService(){
+	EventReportService() {
 		serviceType = 5;
 	}
+
 	/**
 	 * TM[5,1] informative event report
 	 * Send report to inform the respective recipients about an event
@@ -62,4 +64,5 @@ public:
 	void highSeverityAnomalyReport(uint16_t eventID, const uint8_t *data, uint8_t length);
 
 };
+
 #endif //ECSS_SERVICES_EVENTREPORTSERVICE_HPP
diff --git a/src/Services/EventReportService.cpp b/src/Services/EventReportService.cpp
index 3b31e95b..45063616 100644
--- a/src/Services/EventReportService.cpp
+++ b/src/Services/EventReportService.cpp
@@ -11,7 +11,7 @@
  */
 
 void EventReportService::informativeEventReport(uint16_t eventID, const uint8_t *data,
-																		uint8_t length){
+                                                uint8_t length) {
 	// TM[5,1]
 	Message report = createTM(1);
 	report.appendEnum16(eventID);
@@ -21,7 +21,7 @@ void EventReportService::informativeEventReport(uint16_t eventID, const uint8_t
 }
 
 void EventReportService::lowSeverityAnomalyReport(uint16_t eventID, const uint8_t *data,
-																			uint8_t length ){
+                                                  uint8_t length) {
 	// TM[5,2]
 	Message report = createTM(2);
 	report.appendEnum16(eventID);
@@ -31,7 +31,7 @@ void EventReportService::lowSeverityAnomalyReport(uint16_t eventID, const uint8_
 }
 
 void EventReportService::mediumSeverityAnomalyReport(uint16_t eventID, const uint8_t *data,
-																				uint8_t length){
+                                                     uint8_t length) {
 	// TM[5,3]
 	Message report = createTM(3);
 	report.appendEnum16(eventID);
@@ -41,7 +41,7 @@ void EventReportService::mediumSeverityAnomalyReport(uint16_t eventID, const uin
 }
 
 void EventReportService::highSeverityAnomalyReport(uint16_t eventID, const uint8_t *data,
-																			uint8_t length){
+                                                   uint8_t length) {
 	// TM[5,4]
 	Message report = createTM(4);
 	report.appendEnum16(eventID);
-- 
GitLab