changed code style

This commit is contained in:
john30
2015-02-21 13:18:36 +01:00
parent 0bfc63c13a
commit 41cd38ab75
20 changed files with 218 additions and 217 deletions
+2 -2
View File
@@ -34,7 +34,7 @@ int main ()
if (result != RESULT_OK) {
cout << "open failed: " << getResultCode(result) << endl;
} else {
if (device->isValid() == false)
if (!device->isValid())
cout << "device not available." << endl;
int count = 0;
@@ -52,7 +52,7 @@ int main ()
device->close();
if(device->isValid() == false)
if (!device->isValid())
cout << "close successful." << endl;
}