mirror of
https://github.com/eclipse/upm.git
synced 2025-03-24 01:10:22 +03:00
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:
parent
0e365590c4
commit
7c66d5c321
@ -286,7 +286,7 @@ int main()
|
|||||||
else ads->setCompMode();
|
else ads->setCompMode();
|
||||||
break;
|
break;
|
||||||
case 18:
|
case 18:
|
||||||
cout << ads->getCompLatch() << cout;
|
cout << ads->getCompLatch() << endl;
|
||||||
break;
|
break;
|
||||||
case 19:
|
case 19:
|
||||||
cout << "select one of the following:" << endl;
|
cout << "select one of the following:" << endl;
|
||||||
@ -296,7 +296,7 @@ int main()
|
|||||||
else ads->setCompLatch();
|
else ads->setCompLatch();
|
||||||
break;
|
break;
|
||||||
case 20:
|
case 20:
|
||||||
cout << ads->getContinuous() << cout;
|
cout << ads->getContinuous() << endl;
|
||||||
break;
|
break;
|
||||||
case 21:
|
case 21:
|
||||||
cout << "select one of the following:" << endl;
|
cout << "select one of the following:" << endl;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user