PIIODevice destructor fix
This commit is contained in:
@@ -46,6 +46,12 @@ PICAN::PICAN(const PIString & path, PIIODevice::DeviceMode mode) : PIIODevice(pa
|
||||
}
|
||||
|
||||
|
||||
PICAN::~PICAN() {
|
||||
stop();
|
||||
close();
|
||||
}
|
||||
|
||||
|
||||
bool PICAN::openDevice() {
|
||||
#ifdef PIP_CAN
|
||||
piCout << "PICAN open device" << path();
|
||||
|
||||
Reference in New Issue
Block a user