From 9c0517cb7409d747a88bba9ea17f03783af8ae6b Mon Sep 17 00:00:00 2001 From: Manuel Pitz Date: Thu, 6 Jul 2023 11:59:58 +0200 Subject: [PATCH] dumper: fix styles for steffen Signed-off-by: Manuel Pitz --- lib/dumper.cpp | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/lib/dumper.cpp b/lib/dumper.cpp index 9eb8431ee..178bd529d 100644 --- a/lib/dumper.cpp +++ b/lib/dumper.cpp @@ -30,11 +30,13 @@ Dumper::~Dumper() { closeSocket(); } -bool Dumper::isActive(){ +bool Dumper::isActive() +{ return active; } -int Dumper::setActive() { +int Dumper::setActive() +{ active = true; return 1; } @@ -67,12 +69,14 @@ int Dumper::closeSocket() return 0; } -int Dumper::setPath(std::string socketPathIn) { +int Dumper::setPath(std::string socketPathIn) +{ socketPath = socketPathIn; return 1; } -void Dumper::writeDataBinary(unsigned len, double *yData, double *xData){ +void Dumper::writeDataBinary(unsigned len, double *yData, double *xData) +{ if (warningCounter > 10) return;