PICloud resolve addr
This commit is contained in:
@@ -62,9 +62,8 @@ void PICloudClient::setKeepConnection(bool on) {
|
||||
|
||||
|
||||
bool PICloudClient::openDevice() {
|
||||
PIString p = path();
|
||||
// piCout << "PICloudClient open device" << p;
|
||||
bool op = eth.connect(p, false);
|
||||
// piCout << "PICloudClient open device" << path();
|
||||
bool op = eth.connect(PIEthernet::Address::resolve(path()), false);
|
||||
if (op) {
|
||||
mutex_buff.lock();
|
||||
eth.startThreadedRead();
|
||||
|
||||
Reference in New Issue
Block a user