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() {
5454 return _stream;
5555}
5656
57- void CanHacker::setClock (uint8_t clock){
57+ void CanHacker::setClock (CAN_CLOCK clock){
5858 canClock = clock;
5959}
6060
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ class CanHacker {
4747
4848 CanHacker (Stream *stream, Stream *debugStream, uint8_t cs);
4949 ~CanHacker ();
50- void setClock (const uint8_t clock);
50+ void setClock (const CAN_CLOCK clock);
5151 ERROR receiveCommand (const char *buffer, const int length);
5252 ERROR receiveCanFrame (const struct can_frame *frame);
5353 ERROR sendFrame (const struct can_frame *);
@@ -65,7 +65,7 @@ class CanHacker {
6565 static const char BEL = 7 ;
6666 static const uint16_t TIMESTAMP_LIMIT = 0xEA60 ;
6767
68- uint8_t canClock = MCP_16MHZ;
68+ CAN_CLOCK canClock = MCP_16MHZ;
6969 bool _timestampEnabled = false ;
7070 bool _listenOnly = false ;
7171 bool _loopback = false ;
You can’t perform that action at this time.
0 commit comments