Tidying - using scoped enums
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
|
||||
namespace Bloom::DebugToolDrivers::Protocols::CmsisDap::Edbg::Avr
|
||||
{
|
||||
enum class AvrEventId : unsigned char
|
||||
enum class AvrEventId: unsigned char
|
||||
{
|
||||
AVR8_BREAK_EVENT = 0x40,
|
||||
};
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace Bloom::DebugToolDrivers::Protocols::CmsisDap::Edbg::Avr::CommandFrames
|
||||
/**
|
||||
* The query context is the type of query to execute.
|
||||
*/
|
||||
enum class QueryContext : unsigned char
|
||||
enum class QueryContext: unsigned char
|
||||
{
|
||||
COMMAND_HANDLERS = 0x00,
|
||||
TOOL_NAME = 0x80,
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace Bloom::DebugToolDrivers::Protocols::CmsisDap::Edbg::Avr::ResponseFrame
|
||||
/**
|
||||
* Discovery commands can only return two responses; A LIST response and a failure.
|
||||
*/
|
||||
enum class ResponseId : unsigned char
|
||||
enum class ResponseId: unsigned char
|
||||
{
|
||||
/*
|
||||
* According to the protocol docs, response ID 0x81 is for a LIST response, but this doesn't seem to be
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace Bloom::Events
|
||||
{
|
||||
static_assert(std::atomic<int>::is_always_lock_free);
|
||||
|
||||
enum EventType: std::uint8_t
|
||||
enum class EventType: std::uint8_t
|
||||
{
|
||||
GENERIC,
|
||||
STOP_TARGET_EXECUTION,
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
|
||||
namespace Bloom::Widgets::InsightTargetWidgets::Dip
|
||||
{
|
||||
enum Position: std::uint8_t
|
||||
enum class Position: std::uint8_t
|
||||
{
|
||||
TOP,
|
||||
BOTTOM
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
namespace Bloom::Widgets::InsightTargetWidgets::Qfp
|
||||
{
|
||||
enum Position: std::uint8_t
|
||||
enum class Position: std::uint8_t
|
||||
{
|
||||
TOP,
|
||||
BOTTOM,
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
namespace Bloom::Targets::TargetDescription
|
||||
{
|
||||
enum MemorySegmentType
|
||||
enum class MemorySegmentType
|
||||
{
|
||||
REGISTERS,
|
||||
IO,
|
||||
|
||||
Reference in New Issue
Block a user