Skip to content

Commit

Permalink
Version 2.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
pierremolinaro committed Oct 3, 2020
1 parent d9530f0 commit ab79ad7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Binary file modified extras/acan2517FD.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=ACAN2517FD
version=2.1.2
version=2.1.3
author=Pierre Molinaro
maintainer=Pierre Molinaro <Pierre.Molinaro@pcmolinaro.name>
sentence=Driver for MCP2517FD and MCP2518FD CAN Controller (CAN FD mode)
Expand Down
4 changes: 2 additions & 2 deletions src/ACAN2517FD.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1167,8 +1167,8 @@ uint32_t ACAN2517FD::errorCounters (void) {

//----------------------------------------------------------------------------------------------------------------------

uint32_t ACAN2517FD::diagInfos(void) {
return readRegister32(BDIAG1_REGISTER);
uint32_t ACAN2517FD::diagInfos (void) { // thanks to Flole998
return readRegister32 (BDIAG1_REGISTER) ;
}

//----------------------------------------------------------------------------------------------------------------------
4 changes: 2 additions & 2 deletions src/ACAN2517FD.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ class ACAN2517FD {
//······················································································································

public: uint32_t errorCounters (void) ;

//······················································································································
// Get diagnostic information
// Get diagnostic information (thanks to Flole998)
//······················································································································

public: uint32_t diagInfos (void) ;
Expand Down

0 comments on commit ab79ad7

Please sign in to comment.