pierremolinaro / acan2515

MCP2515 CAN Controller Driver for Arduino
MIT License
74 stars 29 forks source link

Fix wrong class name in example code for setting LoopBackMode #21

Closed kek91 closed 3 years ago

kek91 commented 3 years ago

In README.md the example code won't compile (error message: ACAN2515RequestedMode has not been declared).

This PR simply changes ACAN2515RequestedMode to ACAN2515Settings which fixes the issue (line 40 in README.md).

pierremolinaro commented 3 years ago

Thank you very much for fixing this typo.

Best regards,

Pierre

Le 9 oct. 2020 à 09:51, Kim Eirik Kvassheim notifications@github.com a écrit :

In README.md the example code won't compile (error message: ACAN2515RequestedMode has not been declared).

This PR simply changes ACAN2515RequestedMode to ACAN2515Settings which fixes the issue (line 40 in README.md).

You can view, comment on, or merge this pull request online at:

https://github.com/pierremolinaro/acan2515/pull/21 https://github.com/pierremolinaro/acan2515/pull/21 Commit Summary

Fix wrong class name in example code for setting LoopBackMode File Changes

M README.md https://github.com/pierremolinaro/acan2515/pull/21/files#diff-04c6e90faac2675aa89e2176d2eec7d8 (2) Patch Links:

https://github.com/pierremolinaro/acan2515/pull/21.patch https://github.com/pierremolinaro/acan2515/pull/21.patch https://github.com/pierremolinaro/acan2515/pull/21.diff https://github.com/pierremolinaro/acan2515/pull/21.diff — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pierremolinaro/acan2515/pull/21, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEWKZVDXG6KLI2DXUANI5HLSJ26GTANCNFSM4SJXTEVQ.