We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 437020e commit ba86aefCopy full SHA for ba86aef
api/CanMsg.h
@@ -114,9 +114,9 @@ class CanMsg : public Printable
114
* |- Bit 29 : reserved (future error frame flag)
115
* |- Bit 0-28 : CAN identifier (11/29 bit)
116
*/
117
- private: uint32_t id;
118
- public: uint8_t data_length;
119
- public: uint8_t data[MAX_DATA_LENGTH];
+ uint32_t id;
+ uint8_t data_length;
+ uint8_t data[MAX_DATA_LENGTH];
120
};
121
122
/**************************************************************************************
0 commit comments