Tidying - using scoped enums

This commit is contained in:
Nav
2022-03-01 20:35:56 +00:00
parent 15f22b612f
commit 3893187aed
7 changed files with 7 additions and 7 deletions

View File

@@ -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,
};

View File

@@ -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,

View File

@@ -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