PICloudClient now soft stop thread when closed
last cmake changes
This commit is contained in:
@@ -85,6 +85,7 @@ bool PICloudClient::openDevice() {
|
||||
|
||||
|
||||
bool PICloudClient::closeDevice() {
|
||||
PIThread::stop(false);
|
||||
if (is_connected) {
|
||||
is_connected = false;
|
||||
disconnected();
|
||||
|
||||
@@ -259,7 +259,7 @@ uint PISystemInfo::machineID() {
|
||||
if (ret == 0) {
|
||||
CRC_32 crc = standardCRC_32();
|
||||
ret = crc.calculate(machineKey().toByteArray());
|
||||
piCout << "machineID \"" << machineKey() << "\" =" << PICoutManipulators::Hex << ret;
|
||||
//piCout << "machineID \"" << machineKey() << "\" =" << PICoutManipulators::Hex << ret;
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user