Skip to content

Commit a2cece4

Browse files
Update mcp2515.h
added One Shot Mode flag and enable / disable methods
1 parent a8245ac commit a2cece4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mcp2515.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,7 @@ class MCP2515
449449
uint8_t SPICS;
450450
uint32_t SPI_CLOCK;
451451
SPIClass * SPIn;
452+
bool OSMflag;
452453

453454
private:
454455

@@ -496,6 +497,8 @@ class MCP2515
496497
void clearERRIF();
497498
uint8_t errorCountRX(void);
498499
uint8_t errorCountTX(void);
500+
void enableOSM(void);
501+
void disableOSM(void);
499502
};
500503

501504
#endif

0 commit comments

Comments
 (0)