examples/c++: Fix syntax errors in ads1x15.cxx

Signed-off-by: Henry Bruce <henry.bruce@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Henry Bruce 2016-03-29 10:29:14 -07:00 committed by Mihai Tudor Panu
parent 0e365590c4
commit 7c66d5c321

View File

@ -286,7 +286,7 @@ int main()
else ads->setCompMode();
break;
case 18:
cout << ads->getCompLatch() << cout;
cout << ads->getCompLatch() << endl;
break;
case 19:
cout << "select one of the following:" << endl;
@ -296,7 +296,7 @@ int main()
else ads->setCompLatch();
break;
case 20:
cout << ads->getContinuous() << cout;
cout << ads->getContinuous() << endl;
break;
case 21:
cout << "select one of the following:" << endl;