From 28cbeb6fc4e22d65088ef5642a286a33946b65c8 Mon Sep 17 00:00:00 2001 From: Nav Date: Sat, 1 Oct 2022 21:54:25 +0100 Subject: [PATCH] More tidying --- .../EDBG/AVR/CommandFrames/HouseKeeping/Parameters.hpp | 2 +- .../HouseKeeping/HouseKeepingResponseFrame.hpp | 2 +- .../MemoryRegionManager/FocusedRegionItem.hpp | 8 ++++++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/DebugToolDrivers/Protocols/CMSIS-DAP/VendorSpecific/EDBG/AVR/CommandFrames/HouseKeeping/Parameters.hpp b/src/DebugToolDrivers/Protocols/CMSIS-DAP/VendorSpecific/EDBG/AVR/CommandFrames/HouseKeeping/Parameters.hpp index f81bd48f..f021a2fc 100644 --- a/src/DebugToolDrivers/Protocols/CMSIS-DAP/VendorSpecific/EDBG/AVR/CommandFrames/HouseKeeping/Parameters.hpp +++ b/src/DebugToolDrivers/Protocols/CMSIS-DAP/VendorSpecific/EDBG/AVR/CommandFrames/HouseKeeping/Parameters.hpp @@ -6,7 +6,7 @@ namespace Bloom::DebugToolDrivers::Protocols::CmsisDap::Edbg::Avr::CommandFrames::HouseKeeping { - enum class ParameterContext : unsigned char + enum class ParameterContext: unsigned char { CONFIG = 0x00, ANALOG = 0x01, diff --git a/src/DebugToolDrivers/Protocols/CMSIS-DAP/VendorSpecific/EDBG/AVR/ResponseFrames/HouseKeeping/HouseKeepingResponseFrame.hpp b/src/DebugToolDrivers/Protocols/CMSIS-DAP/VendorSpecific/EDBG/AVR/ResponseFrames/HouseKeeping/HouseKeepingResponseFrame.hpp index 1c6b60b2..e5330647 100644 --- a/src/DebugToolDrivers/Protocols/CMSIS-DAP/VendorSpecific/EDBG/AVR/ResponseFrames/HouseKeeping/HouseKeepingResponseFrame.hpp +++ b/src/DebugToolDrivers/Protocols/CMSIS-DAP/VendorSpecific/EDBG/AVR/ResponseFrames/HouseKeeping/HouseKeepingResponseFrame.hpp @@ -4,7 +4,7 @@ namespace Bloom::DebugToolDrivers::Protocols::CmsisDap::Edbg::Avr::ResponseFrames::HouseKeeping { - enum class ResponseId : unsigned char + enum class ResponseId: unsigned char { OK = 0x80, LIST = 0x81, diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/MemoryRegionManager/FocusedRegionItem.hpp b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/MemoryRegionManager/FocusedRegionItem.hpp index 264af851..41b9d3d0 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/MemoryRegionManager/FocusedRegionItem.hpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetMemoryInspectionPane/MemoryRegionManager/FocusedRegionItem.hpp @@ -11,7 +11,9 @@ namespace Bloom::Widgets MemoryRegionDataType dataType = MemoryRegionDataType::UNKNOWN; DataTypeOption(const QString& text, MemoryRegionDataType dataType) - : text(text), dataType(dataType) {}; + : text(text) + , dataType(dataType) + {}; }; struct EndiannessOption @@ -20,7 +22,9 @@ namespace Bloom::Widgets Targets::TargetMemoryEndianness endianness = Targets::TargetMemoryEndianness::LITTLE; EndiannessOption(const QString& text, Targets::TargetMemoryEndianness endianness) - : text(text), endianness(endianness) {}; + : text(text) + , endianness(endianness) + {}; }; class FocusedRegionItem: public RegionItem