File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ Stream *CanHacker::getInterfaceStream() {
54
54
return _stream;
55
55
}
56
56
57
- void CanHacker::setClock (uint8_t clock){
57
+ void CanHacker::setClock (CAN_CLOCK clock){
58
58
canClock = clock;
59
59
}
60
60
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ class CanHacker {
47
47
48
48
CanHacker (Stream *stream, Stream *debugStream, uint8_t cs);
49
49
~CanHacker ();
50
- void setClock (const uint8_t clock);
50
+ void setClock (const CAN_CLOCK clock);
51
51
ERROR receiveCommand (const char *buffer, const int length);
52
52
ERROR receiveCanFrame (const struct can_frame *frame);
53
53
ERROR sendFrame (const struct can_frame *);
@@ -65,7 +65,7 @@ class CanHacker {
65
65
static const char BEL = 7 ;
66
66
static const uint16_t TIMESTAMP_LIMIT = 0xEA60 ;
67
67
68
- uint8_t canClock = MCP_16MHZ;
68
+ CAN_CLOCK canClock = MCP_16MHZ;
69
69
bool _timestampEnabled = false ;
70
70
bool _listenOnly = false ;
71
71
bool _loopback = false ;
You can’t perform that action at this time.
0 commit comments