From 6de526c89408f1dfe51860f565309c4252d6f4cf Mon Sep 17 00:00:00 2001 From: Pascal Henry Bauer Date: Fri, 27 Jan 2023 13:59:40 +0100 Subject: [PATCH] fixed formatting Signed-off-by: Pascal Henry Bauer --- fpga/include/villas/fpga/card.hpp | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/fpga/include/villas/fpga/card.hpp b/fpga/include/villas/fpga/card.hpp index e3839aeaf..a5da5c220 100644 --- a/fpga/include/villas/fpga/card.hpp +++ b/fpga/include/villas/fpga/card.hpp @@ -1,11 +1,11 @@ -/** FPGA card +/** FPGA pciecard * * This class represents a FPGA device. * * Author: Steffen Vogel * Author: Daniel Krebs - * SPDX-FileCopyrightText: 2017 Institute for Automation of Complex Power - *Systems, EONERC SPDX-License-Identifier: Apache-2.0 + * SPDX-FileCopyrightText: 2017 Institute for Automation of Complex Power Systems, EONERC + * SPDX-License-Identifier: Apache-2.0 *********************************************************************************/ #pragma once @@ -14,14 +14,12 @@ #include #include -namespace villas -{ -namespace fpga -{ +namespace villas { +namespace fpga { class Card { - public: +public: bool polling; std::shared_ptr vfioDevice; @@ -45,13 +43,13 @@ class Card bool mapMemoryBlock(const MemoryBlock &block); bool unmapMemoryBlock(const MemoryBlock &block); - private: +private: // Cache a set of already mapped memory blocks std::set memoryBlocksMapped; std::shared_ptr vfioContainer; - protected: +protected: // Logger getLogger() const // { // return villas::logging.get(name);