4.06.2013 - Version 0.3.4 - PIOBJECT() macro, ethernet improvement, documentation based on Doxygen
This commit is contained in:
@@ -32,7 +32,7 @@ bool PIFile::openDevice() {
|
||||
|
||||
|
||||
bool PIFile::closeDevice() {
|
||||
if (!opened_) return true;
|
||||
if (!opened_ || fd == 0) return true;
|
||||
return (fclose(fd) == 0);
|
||||
}
|
||||
|
||||
@@ -104,7 +104,7 @@ void PIFile::resize(llong new_size, char fill_) {
|
||||
delete[] buff;
|
||||
return;
|
||||
}
|
||||
piCout << "[PIFile] Downsize is not support yet :-(" << endl;
|
||||
piCout << "[PIFile] Downsize is not support yet :-(";
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user