Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ba86aef

Browse files
Restore full public access to "id", even if that enables some foot-shooting.
1 parent 437020e commit ba86aef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎api/CanMsg.h‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,9 @@ class CanMsg : public Printable
114114
* |- Bit 29 : reserved (future error frame flag)
115115
* |- Bit 0-28 : CAN identifier (11/29 bit)
116116
*/
117-
private:uint32_t id;
118-
public:uint8_t data_length;
119-
public:uint8_t data[MAX_DATA_LENGTH];
117+
uint32_t id;
118+
uint8_t data_length;
119+
uint8_t data[MAX_DATA_LENGTH];
120120
};
121121

122122
/**************************************************************************************

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /