mirror of https://github.com/ARMmbed/mbed-os.git
Fix astyle CI failures
parent
49e58ddab6
commit
d79446c0da
|
@ -118,16 +118,16 @@ namespace interface {
|
||||||
/* Having this as a struct allows interface::CAN and/or mbed::CAN to inherit the enums */
|
/* Having this as a struct allows interface::CAN and/or mbed::CAN to inherit the enums */
|
||||||
struct can {
|
struct can {
|
||||||
|
|
||||||
enum Mode {
|
enum Mode {
|
||||||
Reset = 0,
|
Reset = 0,
|
||||||
Normal,
|
Normal,
|
||||||
Silent,
|
Silent,
|
||||||
LocalTest,
|
LocalTest,
|
||||||
GlobalTest,
|
GlobalTest,
|
||||||
SilentTest
|
SilentTest
|
||||||
};
|
};
|
||||||
|
|
||||||
enum IrqType {
|
enum IrqType {
|
||||||
RxIrq = 0,
|
RxIrq = 0,
|
||||||
TxIrq,
|
TxIrq,
|
||||||
EwIrq,
|
EwIrq,
|
||||||
|
@ -139,14 +139,14 @@ enum IrqType {
|
||||||
IdIrq,
|
IdIrq,
|
||||||
|
|
||||||
IrqCnt
|
IrqCnt
|
||||||
};
|
};
|
||||||
|
|
||||||
// Prevent slicing and user creation of base class.
|
// Prevent slicing and user creation of base class.
|
||||||
protected:
|
protected:
|
||||||
can() = default;
|
can() = default;
|
||||||
~can() = default;
|
~can() = default;
|
||||||
can(const can&) = default;
|
can(const can &) = default;
|
||||||
can& operator=(const can&) = default;
|
can &operator=(const can &) = default;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue