Enum Class
Enum class is a type safe way to initialize enums
1
2
3
4
enum class MPS_Status: uint8_t{
SENSOR_UNINITIALIZED = 0x00,
SENSOR_STARTUP = 0x27
};
Enum class is a type safe way to initialize enums
1
2
3
4
enum class MPS_Status: uint8_t{
SENSOR_UNINITIALIZED = 0x00,
SENSOR_STARTUP = 0x27
};