Skip to content

Commit 7917019

Browse files
author
ChenSZ
committed
统一类型
1 parent d180eb0 commit 7917019

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CANKvaser.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace ZCANBus {
88
class CANKvaser : public CANBase {
99
private:
1010
std::thread* th;
11-
int handle;
11+
CanHandle handle;
1212
bool loopOn;
1313

1414
public:

CANPeak.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace ZCANBus {
1212
class CANPeak : public CANBase {
1313
private:
1414
std::thread* th;
15-
int channel;
15+
TPCANHandle channel;
1616
bool loopOn;
1717

1818
public:

0 commit comments

Comments
 (0)