Fix astyle CI failures

pull/14336/head
George Beckstein 2021-05-06 02:09:54 -04:00
parent 49e58ddab6
commit d79446c0da
1 changed files with 22 additions and 22 deletions

View File

@ -118,35 +118,35 @@ 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,
DoIrq, DoIrq,
WuIrq, WuIrq,
EpIrq, EpIrq,
AlIrq, AlIrq,
BeIrq, BeIrq,
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;
}; };